Logitech S510 (R-RD8) Media Remote keymappings - RomMon - 2020-01-28
I discovered that my old Logitech S510 Media Remote, a remote control can become useful with some minor changes (see [1]).
Still a lot of buttons don't work (about half of the buttons).
From debug, and the code that the Keyboard Editor add-on shows for key-presses I see that a number of keys show the same code/key-id.
E.g. key id="61952"
Is this a driver issue, and is this something that can be solved?
From verifying the Media Remote with Setpoint and uberOptions (http://uberoptions.net/) I know the buttons work all well.
Key | Key id | Debug | evtest code | evtest string | Leftover Capture Data |
Open window | key id="61952" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x8b, sym: 0x0000, unicode: 0x0000, modifier: 0x0
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is
- DEBUG: Thread Timer 140354597619456 terminating
- DEBUG: Keyboard: scancode: 0x8b, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 139 | KEY_MENU | 10040327100000 |
Select window | key id="61952" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x9a, sym: 0x0000, unicode: 0x0000, modifier: 0x0
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is
- DEBUG: Thread Timer 139939967469312 terminating
- DEBUG: Keyboard: scancode: 0x9a, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 154 | KEY_CYCLEWINDOWS | 1004032b100000 |
Close window | key id="61952" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xce, sym: 0x0000, unicode: 0x0000, modifier: 0x0
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is
- DEBUG: Thread Timer 139939967469312 terminating
- DEBUG: Keyboard: scancode: 0xce, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 206 | KEY_CLOSE | 10040323100000 |
Preset 1 | key id="61933" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x94, sym: 0x00b7, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: launch_app2_pc_icon (0xf0c1) pressed, action is ActivateWindow(Programs)
- DEBUG: Thread Timer 139939967469312 terminating
- DEBUG: Keyboard: scancode: 0x94, sym: 0x00b7, unicode: 0x0000, modifier: 0x0
| code 148 | KEY_PROG1 | 10040319100000 |
Preset 2 | key id="61952" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x95, sym: 0x0000, unicode: 0x0000, modifier: 0x0
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
- DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is
- DEBUG: Thread Timer 139939967469312 terminating
- DEBUG: Keyboard: scancode: 0x95, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 149 | KEY_PROG2 | 1004031a100000 |
Preset 3 | key id="61952" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xca, sym: 0x0000, unicode: 0x0000, modifier: 0x0
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
- DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: 0 (0xf200, obc-61697) pressed, action is
- DEBUG: Thread Timer 139939967469312 terminating
- DEBUG: Keyboard: scancode: 0xca, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 202 | KEY_PROG3 | 1004031b100000 |
Back | key id="61616" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x9e, sym: 0x00a6, unicode: 0x0000, modifier: 0x0
- DEBUG: Thread Timer 139939975862016 terminating
- DEBUG: Keyboard: scancode: 0x9e, sym: 0x00a6, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: browser_back (0xf0b0) pressed, action is Back
| code 158 | KEY_BACK | 1004032a100000 |
OK | key id="16838669" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 250ms repeat: 33ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
- DEBUG: Thread Timer 139939975862016 terminating
- DEBUG: Keyboard: scancode: 0x1c, sym: 0x000d, unicode: 0x000d, modifier: 0x0
- DEBUG: HandleKey: return (0xf00d) pressed, action is Select
| code 28 (event8) | KEY_ENTER | 0000280000000000 |
Up | <none> | - DEBUG: CLibInputPointer:: ProcessAxis - scroll: up, event.button.x: 0, event.button.y: 25
- DEBUG: ProcessMouse: trying mouse action up
| | | 10040501000000 |
Down | <none> | - DEBUG: CLibInputPointer:: ProcessAxis - scroll: down, event.button.x: 0, event.button.y: 25
- DEBUG: ProcessMouse: trying mouse action down
| | | 100405ff000000 |
Right | key id="61570" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 250ms repeat: 33ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: right (0xf083) pressed, action is Right
- DEBUG: Thread Timer 139941841762048 terminating
- DEBUG: Keyboard: scancode: 0x6a, sym: 0x0113, unicode: 0x0000, modifier: 0x0
| code 106 (event8) | KEY_RIGHT | 00004f0000000000 |
Left | key id="61571" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 250ms repeat: 33ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x69, sym: 0x0114, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: left (0xf082) pressed, action is Left
- DEBUG: Thread Timer 139941841762048 terminating
- DEBUG: Keyboard: scancode: 0x69, sym: 0x0114, unicode: 0x0000, modifier: 0x0
| code 105 (event8) | KEY_LEFT | 0000500000000000 |
Volum Up | key id="61625" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x73, sym: 0x00af, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: volume_up (0xf0b9) pressed, action is VolumeUp
- DEBUG: ------ Window Init (DialogVolumeBar.xml) ------
- DEBUG: Thread Timer 139940562200320 terminating
- DEBUG: Keyboard: scancode: 0x73, sym: 0x00af, unicode: 0x0000, modifier: 0x0
- DEBUG: ------ Window Deinit (DialogVolumeBar.xml) ------
| code 115 | KEY_VOLUMEUP | 100403e9000000 |
Volum Down | key id="61624" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: volume_down (0xf0b8) pressed, action is VolumeDown
- DEBUG: ------ Window Init (DialogVolumeBar.xml) ------
- DEBUG: Thread Timer 139939975862016 terminating
- DEBUG: Keyboard: scancode: 0x72, sym: 0x00ae, unicode: 0x0000, modifier: 0x0
- DEBUG: ------ Window Deinit (DialogVolumeBar.xml) ------
| code 114 | KEY_VOLUMEDOWN | 100403ea000000 |
Mute | key id="61623" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x71, sym: 0x00ad, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: volume_mute (0xf0b7) pressed, action is Mute
- DEBUG: Thread Timer 139941845661440 terminating
- DEBUG: Keyboard: scancode: 0x71, sym: 0x00ad, unicode: 0x0000, modifier: 0x0
- DEBUG: ------ Window Deinit (DialogVolumeBar.xml) ------
| code 113 | KEY_MUTE | 100403e2000000 |
Zoom + | key id="16839168" | - DEBUG: Previous line repeats 1 times.
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
- DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is
- DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 419 | KEY_ZOOMOUT | 10040320100000 |
Zoom - | key id="16839168" | - DEBUG: Previous line repeats 1 times.
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
- DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is
- DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 418 | KEY_ZOOMIN | 1004031f100000 |
Rotate | key id="16839168" | - DEBUG: Previous line repeats 1 times.
- DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
- DEBUG: Previous line repeats 3 times.
- DEBUG: HandleKey: long-0 (0x100f200, obc-16838913) pressed, action is
- DEBUG: Keyboard: scancode: 0x00, sym: 0x0000, unicode: 0x0000, modifier: 0x0
| code 371 | KEY_ANGLE | 10040328100000 |
Media | key id="61635" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xe2, sym: 0x00b9, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: launch_media_center (0xf0c3) pressed, action is
- DEBUG: Thread Timer 139941841762048 terminating
- DEBUG: Keyboard: scancode: 0xe2, sym: 0x00b9, unicode: 0x0000, modifier: 0x0
| code 226 | KEY_MEDIA | 10040318100000 |
Skip to the start or previous file/track/chapter | key id="61627" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xa5, sym: 0x00b1, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: prev_track (0xf0bb) pressed, action is SkipPrevious
- DEBUG: Thread Timer 139941841762048 terminating
- DEBUG: Keyboard: scancode: 0xa5, sym: 0x00b1, unicode: 0x0000, modifier: 0x0
| code 165 | KEY_PREVIOUSSONG | 100403b6000000 |
Play/Pause | key id="16838845" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xa4, sym: 0x0155, unicode: 0x0000, modifier: 0x0
- DEBUG: Thread Timer 139939975862016 terminating
- DEBUG: Keyboard: scancode: 0xa4, sym: 0x0155, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: play_pause (0xf0bd) pressed, action is PlayPause
| code 164 | KEY_PLAYPAUSE | 100403cd000000 |
Skip to the end or next file/track/chapter | key id="61626" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xa3, sym: 0x00b0, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: next_track (0xf0ba) pressed, action is SkipNext
- DEBUG: Thread Timer 139939975862016 terminating
- DEBUG: Keyboard: scancode: 0xa3, sym: 0x00b0, unicode: 0x0000, modifier: 0x0
| code 163 | KEY_NEXTSONG | 100403b5000000 |
Fast forward | key id="61626" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xa3, sym: 0x00b0, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: next_track (0xf0ba) pressed, action is SkipNext
- DEBUG: Thread Timer 139941841762048 terminating
- DEBUG: Keyboard: scancode: 0xa3, sym: 0x00b0, unicode: 0x0000, modifier: 0x0
| code 163 | KEY_NEXTSONG | 1004030c100000 |
Stop | key id="61628" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xa6, sym: 0x00b2, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: stop (0xf0bc) pressed, action is Stop
- DEBUG: Thread Timer 139941841762048 terminating
- DEBUG: Keyboard: scancode: 0xa6, sym: 0x00b2, unicode: 0x0000, modifier: 0x0
| code 166 | KEY_STOPCD | 100403b7000000 |
Rewind | key id="61627" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0xa5, sym: 0x00b1, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: prev_track (0xf0bb) pressed, action is SkipPrevious
- DEBUG: Thread Timer 139940001040128 terminating
- DEBUG: Keyboard: scancode: 0xa5, sym: 0x00b1, unicode: 0x0000, modifier: 0x0
| code 165 | KEY_PREVIOUSSONG | 1004030b100000 |
Sleep | key id="61633" | - DEBUG: CLibInputKeyboard:: ProcessKey - using delay: 400ms repeat: 80ms
- DEBUG: Thread Timer start, auto delete: false
- DEBUG: Keyboard: scancode: 0x8e, sym: 0x0143, unicode: 0x0000, modifier: 0x0
- DEBUG: HandleKey: sleep (0xf0df) pressed, action is ActivateWindow(ShutdownMenu)
- DEBUG: Activating window ID: 10111
- DEBUG: ------ Window Init (DialogButtonMenu.xml) ------
- DEBUG: Thread Timer 139941841762048 terminating
- DEBUG: Keyboard: scancode: 0x8e, sym: 0x0143, unicode: 0x0000, modifier: 0x0
| code 142 | KEY_SLEEP | |
[1] ~/.kodi/userdata/keymaps/mouse.xml
Code: <keymap>
<global>
<mouse>
<wheeldown>down</wheeldown>
<wheelup>up</wheelup>
</mouse>
</global>
</keymap>
|