comradekingu
Glowing ember
That doesnt change: (my keyboard is a "AT Translated Set 2 keyboard" if that makes any difference)As you can see, the key codes given by xev are different. The transformations that AFAIK occur are:
You are giving me the results of the third and fourth phase. I'm asking for the second.
- Keyboard generates scan code
- Keyboard driver reads scan codes to generate event codes (as defined in input.h)
- X reads the keyboard device events, and maps them to key codes
- Key codes are interpreted using a layout into keysyms
- Application receives keysym and does whatever with it
Event: time 1437248882.927193, type 4 (EV_MSC), code 4 (MSC_SCAN), value 3a
Event: time 1437248882.927193, type 1 (EV_KEY), code 58 (KEY_CAPSLOCK), value 0
Event: time 1437248882.927193, -------------- SYN_REPORT ------------
Event: time 1437248883.870916, type 4 (EV_MSC), code 4 (MSC_SCAN), value b8
Event: time 1437248883.870916, type 1 (EV_KEY), code 100 (KEY_RIGHTALT), value 1
Event: time 1437248883.870916, -------------- SYN_REPORT ------------
Event: time 1437248883.946328, type 4 (EV_MSC), code 4 (MSC_SCAN), value b8
Event: time 1437248883.946328, type 1 (EV_KEY), code 100 (KEY_RIGHTALT), value 0
Event: time 1437248883.946328, -------------- SYN_REPORT ------------
Event: time 1437248885.343464, type 4 (EV_MSC), code 4 (MSC_SCAN), value 4a
Event: time 1437248885.343464, type 1 (EV_KEY), code 74 (KEY_KPMINUS), value 1
Event: time 1437248885.343464, -------------- SYN_REPORT ------------
Event: time 1437248885.429384, type 4 (EV_MSC), code 4 (MSC_SCAN), value 4a
Event: time 1437248885.429384, type 1 (EV_KEY), code 74 (KEY_KPMINUS), value 0
Event: time 1437248882.927193, type 1 (EV_KEY), code 58 (KEY_CAPSLOCK), value 0
Event: time 1437248882.927193, -------------- SYN_REPORT ------------
Event: time 1437248883.870916, type 4 (EV_MSC), code 4 (MSC_SCAN), value b8
Event: time 1437248883.870916, type 1 (EV_KEY), code 100 (KEY_RIGHTALT), value 1
Event: time 1437248883.870916, -------------- SYN_REPORT ------------
Event: time 1437248883.946328, type 4 (EV_MSC), code 4 (MSC_SCAN), value b8
Event: time 1437248883.946328, type 1 (EV_KEY), code 100 (KEY_RIGHTALT), value 0
Event: time 1437248883.946328, -------------- SYN_REPORT ------------
Event: time 1437248885.343464, type 4 (EV_MSC), code 4 (MSC_SCAN), value 4a
Event: time 1437248885.343464, type 1 (EV_KEY), code 74 (KEY_KPMINUS), value 1
Event: time 1437248885.343464, -------------- SYN_REPORT ------------
Event: time 1437248885.429384, type 4 (EV_MSC), code 4 (MSC_SCAN), value 4a
Event: time 1437248885.429384, type 1 (EV_KEY), code 74 (KEY_KPMINUS), value 0
Last edited by a moderator: