2015-02-27, 01:12
Hi there.
I'm using KodiBuntu on a 64bit PC and an old Microsoft MCE RC6 IR remote (model 1039).
Kodi is running version 14.1 compiled Jan. 30, 2015.
All packages updated last Feb. 27, 2015.
Everything's been working mostly well out-of-the-box without any problems, but I decided to try and play with button mapping a bit, so I looked into it, went over the tutorials, put Lircmap.xml and Keymap.xml in place - and, well, some buttons remapped fine, some didn't.
For example, a button remapping that DID work, is the "enter" key which I've remapped to "ContextMenu", and indeed the log shows:
However, I'm having trouble remapping the "clear" button to "ToggleWatched". It seems to be over-ridden by something and the debugging log gives:
I've tried everything from using <key id="249">ToggleWatched</key> which gave an error about not recognizing the word "key", putting it in <keyboard> rather than <remote> (or even both at the same time), but whatever I do "KEY_CLEAR" gets "action is Delete".
Before I delved into this manual remapping I used the KeymapEditor addon and there too everything remapped fine except the "clear" key which insisted on sending "action is Delete" despite being told to send "ToggleWatched" by the remapper.
Here are my Lircmap.xml (in the userdata folder):
My keymap.xml (in userdata/keymaps):
And the FULL debug log of an example session is in this pastebin: http://pastebin.com/6FyJ5B7T
Thanks in advance for any assistance!
I'm using KodiBuntu on a 64bit PC and an old Microsoft MCE RC6 IR remote (model 1039).
Kodi is running version 14.1 compiled Jan. 30, 2015.
All packages updated last Feb. 27, 2015.
Everything's been working mostly well out-of-the-box without any problems, but I decided to try and play with button mapping a bit, so I looked into it, went over the tutorials, put Lircmap.xml and Keymap.xml in place - and, well, some buttons remapped fine, some didn't.
For example, a button remapping that DID work, is the "enter" key which I've remapped to "ContextMenu", and indeed the log shows:
Code:
DEBUG: LIRC: Update - NEW at 12269:000000037ff07bf4 00 KEY_ENTER mceusb (KEY_ENTER)
DEBUG: OnKey: 22 (0x16) pressed, action is ContextMenu
However, I'm having trouble remapping the "clear" button to "ToggleWatched". It seems to be over-ridden by something and the debugging log gives:
Code:
DEBUG: LIRC: Update - NEW at 17409:000000037ff07bf5 00 KEY_CLEAR mceusb (KEY_CLEAR)
DEBUG: OnKey: 249 (0xf9) pressed, action is Delete
I've tried everything from using <key id="249">ToggleWatched</key> which gave an error about not recognizing the word "key", putting it in <keyboard> rather than <remote> (or even both at the same time), but whatever I do "KEY_CLEAR" gets "action is Delete".
Before I delved into this manual remapping I used the KeymapEditor addon and there too everything remapped fine except the "clear" key which insisted on sending "action is Delete" despite being told to send "ToggleWatched" by the remapper.
Here are my Lircmap.xml (in the userdata folder):
Code:
<lircmap>
<remote device="mceusb">
<clear>KEY_CLEAR</clear>
<enter>KEY_ENTER</enter>
</remote>
</lircmap>
My keymap.xml (in userdata/keymaps):
Code:
<keymap>
<global>
<remote>
<clear>ToggleWatched</clear>
<enter>ContextMenu</enter>
</remote>
</global>
</keymap>
And the FULL debug log of an example session is in this pastebin: http://pastebin.com/6FyJ5B7T
Thanks in advance for any assistance!