I followed the instructions here: OSMC Forums
However, I can’t get things to work. When I look at the log, I get the following:
14:50:37 T:1957158912 DEBUG: OnKey: 166 (0xa6) pressed, screen saver/dpms woken up
14:50:38 T:1957158912 DEBUG: OnKey: 167 (0xa7) pressed, action is Down
14:50:39 T:1957158912 DEBUG: OnKey: 168 (0xa8) pressed, action is Right
14:50:39 T:1957158912 DEBUG: OnKey: 169 (0xa9) pressed, action is Left
14:50:41 T:1957158912 DEBUG: OnKey: 11 (0x0b) pressed, action is Select
14:50:43 T:1957158912 DEBUG: OnKey: menu (0xd8) pressed, action is Back
14:50:44 T:1957158912 DEBUG: OnKey: menu (0xd8) pressed, action is Back
14:58:57 T:1957158912 DEBUG: OnKey: 224 (0xe0) pressed, action is Stop
14:59:00 T:1957158912 DEBUG: OnKey: 234 (0xea) pressed, action is PlayPause
14:59:03 T:1957158912 DEBUG: OnKey: 230 (0xe6) pressed, action is Pause
14:59:04 T:1957158912 DEBUG: OnKey: pause (0xdd) pressed, action is SkipPrevious
14:59:06 T:1957158912 DEBUG: OnKey: sleep (0xdf) pressed, action is SkipNext
I have tried using the names or numbers, and the “0x” identifiers to no avail. Here is my current remote.xml file (in ~osmc/.kodi/userdata/keymaps), which is set wide open on permissions (chmod 777):
<keymap>
<global>
<remote>
<sleep>PageUp</sleep>
<key id="0xdf">PageDown</key>
<key id="224">ContextMenu</key>
</remote>
</global>
<home>
<remote>
<key id="224">reloadkeymaps</0xe0>
</remote>
</home>
<FullScreenVideo>
<remote>
<key id="224">Stop</key>
</remote>
</FullScreenVideo>
</keymap>
What am I doing wrong?
Bruce