Quoting Benjamin Drung (<email address hidden>):
> libsdl1.2 does not send an key up event for the host caps lock key, but
> does send the key up event if the physical caps lock key is mapped to
> another key (like NEO2 does).
Right, and when I have capslock mapped to control as I usually do, then
I do get a keyup event:
Capslock turning on:
sdl_process_key({type=0x2,which=0x0,state=0x1,keysym={scancode=0x42,sym=0x12d,mod=0x2000,unicode=0x0}})
keycode = 0x3a
kbd_put_keycode(0x3a)
kbd_put_keycode(0xba)
> qemu-kvm works around this bug by sending
> a key up event for every caps lock key event. The attached patch fixes
> the bug for me. Can you test, if the caps lock behavior still works for
> you?
Actually, I may not get a chance for another two weeks. Can we
get someone else to test?
Quoting Benjamin Drung (<email address hidden>):
> libsdl1.2 does not send an key up event for the host caps lock key, but
> does send the key up event if the physical caps lock key is mapped to
> another key (like NEO2 does).
Right, and when I have capslock mapped to control as I usually do, then
I do get a keyup event:
Capslock turning on: key({type= 0x2,which= 0x0,state= 0x1,keysym= {scancode= 0x42,sym= 0x12d,mod= 0x2000, unicode= 0x0}}) keycode( 0x3a) keycode( 0xba)
sdl_process_
keycode = 0x3a
kbd_put_
kbd_put_
capslock turning off:
sdl_process_ key({type= 0x3,which= 0x0,state= 0x0,keysym= {scancode= 0x42,sym= 0x12d,mod= 0x0,unicode= 0x0}}) keycode( 0x3a) keycode( 0xba)
keycode = 0x3a
kbd_put_
kbd_put_
> qemu-kvm works around this bug by sending
> a key up event for every caps lock key event. The attached patch fixes
> the bug for me. Can you test, if the caps lock behavior still works for
> you?
Actually, I may not get a chance for another two weeks. Can we
get someone else to test?
thanks,
-serge