Linux The meaning of Kodi's keyboard scancodes
#1
When I press a button on my remote, Kodi's Debug mode monitors those events. An example is

Code:
14:00:58 T:140392445069312   DEBUG: Keyboard: scancode: 0x72, sym: 0x0113, unicode: 0x0000, modifier: 0x0
14:00:58 T:140392445069312   DEBUG: OnKey: right (0xf083) pressed, action is Right
14:00:58 T:140392445069312   DEBUG: LIRC: Update - NEW at 806443:6a 0 KEY_RIGHT /dev/input/event2 (KEY_RIGHT)

Simple question: What do those scancodes mean in term of Linux kernel event codes? For instance, running input-events prints

Code:
14:14:34.992265: EV_MSC MSC_SCAN 458831
14:14:34.992265: EV_KEY KEY_RIGHT (0x6a) pressed
14:14:34.992265: EV_SYN code=0 value=0
14:14:35.128281: EV_MSC MSC_SCAN 458831
14:14:35.128281: EV_KEY KEY_RIGHT (0x6a) released
14:14:35.128281: EV_SYN code=0 value=0

when pressing the same button. I can't see a 1-1 translation here.
Reply

Logout Mark Read Team Forum Stats Members Help
The meaning of Kodi's keyboard scancodes0