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)
capslock turning off:
sdl_process_key({type=0x3,which=0x0,state=0x0,keysym={scancode=0x42,sym=0x12d,mod=0x0,unicode=0x0}}) keycode = 0x3a kbd_put_keycode(0x3a) kbd_put_keycode(0xba)
Unlike other keys, everything gets dumped at once at keydown - nothing new is generated at keyup.
Capslock turning on:
sdl_process_ key({type= 0x2,which= 0x0,state= 0x1,keysym= {scancode= 0x42,sym= 0x12d,mod= 0x2000, unicode= 0x0}}) keycode( 0x3a) keycode( 0xba)
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_
Unlike other keys, everything gets dumped at once at keydown - nothing
new is generated at keyup.