2013-03-21, 10:22
As seen on the wiki, I'm using the XBMC debug option to push the buttons I want to map, get the ID and configure them in a xml file inside the keymaps folder ($HOME/.xbmc/userdata/keymaps/keys.xml). My remote is configured as inputdev on lirc, so it acts like a keyboard (despite being a remote), but when pressing the power button (the red one), the debug of XBMC display's the key ID of the button as 0, while other buttons seem to get a correct ID:
I've tried configuring the XML with both <key id="0"> and <key id="0xf200">, but XBMC doesn't seem to like it:
Any idea where could be the problem? Should I try to reconfigure the remote as an specific device instead of devinput?
My configuration is the following:
Gentoo x86_64
Kernel 3.6.11
XBMC 11 (installed via emerge)
Zotac remote from ZBOX (Identified as PHILIPS MCE USB IR Receiver - Spinel plus from lsusb)
Code:
19:56:45 T:140722950248256 DEBUG: SDLKeyboard: scancode: 96, sym: 009f, unicode: 0000, modifier: 0
19:56:45 T:140722950248256 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
19:56:45 T:140722950248256 DEBUG: Previous line repeats 1 times.
19:56:45 T:140722950248256 DEBUG: OnKey: 0 (f200) pressed, action is
19:56:50 T:140722950248256 DEBUG: SDLKeyboard: scancode: 97, sym: 0000, unicode: 0000, modifier: 0
19:56:50 T:140722950248256 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
19:56:50 T:140722950248256 DEBUG: Previous line repeats 1 times.
19:56:50 T:140722950248256 DEBUG: OnKey: 0 (f200) pressed, action is
19:57:02 T:140722950248256 DEBUG: SDLKeyboard: scancode: 24, sym: 000d, unicode: 000d, modifier: 0
19:57:02 T:140722950248256 DEBUG: OnKey: return (f00d) pressed, action is Select
I've tried configuring the XML with both <key id="0"> and <key id="0xf200">, but XBMC doesn't seem to like it:
Code:
<keymap>
<global>
<keyboard>
<key id="0">XBMC.Suspend</key>
<key id="0xf200">XBMC.Suspend</key>
</keyboard>
</global>
</keymap>
Any idea where could be the problem? Should I try to reconfigure the remote as an specific device instead of devinput?
My configuration is the following:
Gentoo x86_64
Kernel 3.6.11
XBMC 11 (installed via emerge)
Zotac remote from ZBOX (Identified as PHILIPS MCE USB IR Receiver - Spinel plus from lsusb)