2020-01-28, 20:05
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.
[1] ~/.kodi/userdata/keymaps/mouse.xml
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" |
| code 139 | KEY_MENU | 10040327100000 |
Select window | key id="61952" |
| code 154 | KEY_CYCLEWINDOWS | 1004032b100000 |
Close window | key id="61952" |
| code 206 | KEY_CLOSE | 10040323100000 |
Preset 1 | key id="61933" |
| code 148 | KEY_PROG1 | 10040319100000 |
Preset 2 | key id="61952" |
| code 149 | KEY_PROG2 | 1004031a100000 |
Preset 3 | key id="61952" |
| code 202 | KEY_PROG3 | 1004031b100000 |
Back | key id="61616" |
| code 158 | KEY_BACK | 1004032a100000 |
OK | key id="16838669" |
| code 28 (event8) | KEY_ENTER | 0000280000000000 |
Up | <none> |
| 10040501000000 | ||
Down | <none> |
| 100405ff000000 | ||
Right | key id="61570" |
| code 106 (event8) | KEY_RIGHT | 00004f0000000000 |
Left | key id="61571" |
| code 105 (event8) | KEY_LEFT | 0000500000000000 |
Volum Up | key id="61625" |
| code 115 | KEY_VOLUMEUP | 100403e9000000 |
Volum Down | key id="61624" |
| code 114 | KEY_VOLUMEDOWN | 100403ea000000 |
Mute | key id="61623" |
| code 113 | KEY_MUTE | 100403e2000000 |
Zoom + | key id="16839168" |
| code 419 | KEY_ZOOMOUT | 10040320100000 |
Zoom - | key id="16839168" |
| code 418 | KEY_ZOOMIN | 1004031f100000 |
Rotate | key id="16839168" |
| code 371 | KEY_ANGLE | 10040328100000 |
Media | key id="61635" |
| code 226 | KEY_MEDIA | 10040318100000 |
Skip to the start or previous file/track/chapter | key id="61627" |
| code 165 | KEY_PREVIOUSSONG | 100403b6000000 |
Play/Pause | key id="16838845" |
| code 164 | KEY_PLAYPAUSE | 100403cd000000 |
Skip to the end or next file/track/chapter | key id="61626" |
| code 163 | KEY_NEXTSONG | 100403b5000000 |
Fast forward | key id="61626" |
| code 163 | KEY_NEXTSONG | 1004030c100000 |
Stop | key id="61628" |
| code 166 | KEY_STOPCD | 100403b7000000 |
Rewind | key id="61627" |
| code 165 | KEY_PREVIOUSSONG | 1004030b100000 |
Sleep | key id="61633" |
| code 142 | KEY_SLEEP |
[1] ~/.kodi/userdata/keymaps/mouse.xml
Code:
<keymap>
<global>
<mouse>
<wheeldown>down</wheeldown>
<wheelup>up</wheelup>
</mouse>
</global>
</keymap>