Map key on my remote wireless 2.4Ghz device - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166) +---- Thread: Map key on my remote wireless 2.4Ghz device (/showthread.php?tid=163610) |
Map key on my remote wireless 2.4Ghz device - surfparadise - 2013-04-29 Hi all I have a big problem to configure my remote device on XBMC. This is my remote control device: http://globalsp.ts.fujitsu.com/dmsp/Publ...IV-Air.pdf This device is working not with infrared, but with WIFI frequence (2.4 Ghz) This is the list of my input device connected. **************************** pi@raspbmc:~$ cat /proc/bus/input/devices I: Bus=0003 Vendor=1784 Product=0014 Version=0111 N: Name="Fujitsu Technology Solutions Presenter IV Air" P: Phys=usb-bcm2708_usb-1.3.2/input0 S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.0/input/input0 U: Uniq= H: Handlers=sysrq kbd event0 B: PROP=0 B: EV=120013 B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe B: MSC=10 B: LED=1f I: Bus=0003 Vendor=1784 Product=0014 Version=0111 N: Name="Fujitsu Technology Solutions Presenter IV Air" P: Phys=usb-bcm2708_usb-1.3.2/input1 S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.1/input/input1 U: Uniq= H: Handlers=sysrq kbd mouse0 event1 js0 B: PROP=0 B: EV=10001f B: KEY=3f0000 70000 10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe B: REL=143 B: ABS=3 B: MSC=10 I: Bus=0003 Vendor=1784 Product=0014 Version=0111 N: Name="Fujitsu Technology Solutions Presenter IV Air" P: Phys=usb-bcm2708_usb-1.3.2/input2 S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3.2/1-1.3.2:1.2/input/input2 U: Uniq= H: Handlers=sysrq kbd event2 B: PROP=0 B: EV=100013 B: KEY=c0000 400 0 0 0 0 58000 1f8 4000c004 e08effdf 1cfffff ffffffff fffffffe B: MSC=10 ******************************* I don't understand if this device is recognised like a joystick or a keyboard. On the remote control there is a switch that could be set in different input mode There are 2 icons on this switch and one of these is like a game pad. I try to log the device actions when I am pressing the buttons: tail -F /home/pi/.xbmc/temp/xbmc.log I have these results (different dependig of switch button position) 1 position: ******************** 20:01:31 T:3037749248 DEBUG: ------ Window Init (Pointer.xml) ------ 20:01:39 T:3037749248 DEBUG: ------ Window Deinit (Pointer.xml) ------ ********************* I search it on google and I found this post: http://forum.stmlabs.com/archive/index.p...-1129.html 2 position: ...when I change setting (with the switch button on the remote), it's seem is recognised like a mouse ********************* left button 20:07:00 T:3037749248 DEBUG: ProcessMouse: trying mouse action leftclick right button 20:07:45 T:3037749248 DEBUG: ProcessMouse: trying mouse action rightclick ********************** The up and down button seem to work (but are mapped as PageDown and PageUp, and I need only Up and Down, to be useful): ************************* Up button 20:10:08 T:3037749248 DEBUG: Keyboard: scancode: 68, sym: 0118, unicode: 0000, modifier: 0 20:10:08 T:3037749248 DEBUG: OnKey: pageup (f084) pressed, action is PageUp down button 20:10:44 T:3037749248 DEBUG: Keyboard: scancode: 6d, sym: 0119, unicode: 0000, modifier: 0 20:10:44 T:3037749248 DEBUG: OnKey: pagedown (f085) pressed, action is PageDown ************************** I have try to put keyboard.xml into this path on my raspberry (using: f085/f084 or 68/6d for buttons ID): .xbmc/userdata/keymaps/keyboard.xml But doesn't works (I am not sure that this file is loaded during the boot... the system seem to ignore my setting) I have follow too this procedure to find the id of my buttons (If my device is considered like a joystick) http://lektiondestages.blogspot.de/2013/...-xbmc.html I have put my file into (alone, without the file keyboard.xml): /userdata/keymaps/joystick.remote.xml Nothing changed. The remote device function as before. Im not sure that the new setting is applied. Could anybody help me?.... Thanks in advance. RE: Map key on my remote wireless 2.4Ghz device - surfparadise - 2013-04-30 ....nobody? Any help it is really appreciated. Thanks |