2014-10-10, 17:45
Hi,
I have an iMON Pad remote control; the newer one with kernel support.
Rather then hacking the system out and running with Lirc can I alter the key functions?
The keys are correctly mapped in:
/etc/rc_keymaps/imon-pad
and going through this thread: http://forum.xbmc.org/showthread.php?tid=126711
all is fine, have tested with ir-keytable.
What I'm asking for basically is that some of the buttons don't seem to be mapped in XBMC, the number pad being one of them.
I have another machine, running Lirc and a different remote of which the mapping was done between the Lircmap.xml file and the remote.xml file; how to achieve a similar result with the kernel module based remote though? Would I need to create a keyboard.xml? Is there any information on this?
The only thing I could find was:
http://wiki.xbmc.org/index.php?title=keymap
specifically:
Does the above mean use the ButtonTranslator.cpp in a similar manner that Lirc uses the Lircmap.xml file?
Thanks.
I have an iMON Pad remote control; the newer one with kernel support.
Rather then hacking the system out and running with Lirc can I alter the key functions?
The keys are correctly mapped in:
/etc/rc_keymaps/imon-pad
and going through this thread: http://forum.xbmc.org/showthread.php?tid=126711
all is fine, have tested with ir-keytable.
Code:
I: Bus=0003 Vendor=15c2 Product=0036 Version=0003
N: Name="iMON Remote (15c2:0036)"
P: Phys=usb-0000:00:14.0-13.3/input0
S: Sysfs=/devices/pci0000:00/0000:00:14.0/usb3/3-13/3-13.3/3-13.3:1.0/rc/rc0/input17
U: Uniq=
H: Handlers=kbd event17
B: PROP=0
B: EV=100013
B: KEY=fff 0 4400000108c0320 2d5008000000000 30000 400119000 418614000801 809e168000000000 200000010004002
B: MSC=10
What I'm asking for basically is that some of the buttons don't seem to be mapped in XBMC, the number pad being one of them.
I have another machine, running Lirc and a different remote of which the mapping was done between the Lircmap.xml file and the remote.xml file; how to achieve a similar result with the kernel module based remote though? Would I need to create a keyboard.xml? Is there any information on this?
The only thing I could find was:
http://wiki.xbmc.org/index.php?title=keymap
specifically:
Quote:4.2 Remotes
An up to date list of the available actions can be found in the source code of XBMC in ButtonTranslator.cpp where the TranslateRemoteString() function does the work.
Example:
<remote>
<play>Play</play>
</remote>
Does the above mean use the ButtonTranslator.cpp in a similar manner that Lirc uses the Lircmap.xml file?
Thanks.