2014-07-03, 08:25
Hello all,
I have a new remote, working with a little USB dongle plugged into my Android box. Some of the buttons dont work and I would like to add entries to the keymap keyboard.xml to fix this.
When pressing the buttons, the following entries appear in xbmc log - how can I use this info to assign it to a function??
rewind:
23:19:00 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 009d, unicode: 0000, modifier: 0
23:19:00 T:140735197991696 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
23:19:00 T:140735197991696 DEBUG: OnKey: 0 (f200) pressed, action is
fforward:
23:19:02 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 009e, unicode: 0000, modifier: 0
23:19:02 T:140735197991696 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
23:19:02 T:140735197991696 DEBUG: OnKey: 0 (f200) pressed, action is
It appears that only the "sym:" bit is changing with the different buttons. I assume this is a HEX code (works out as 157 and 158 in decimal).
Any help would be much appreciated!
I have a new remote, working with a little USB dongle plugged into my Android box. Some of the buttons dont work and I would like to add entries to the keymap keyboard.xml to fix this.
When pressing the buttons, the following entries appear in xbmc log - how can I use this info to assign it to a function??
rewind:
23:19:00 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 009d, unicode: 0000, modifier: 0
23:19:00 T:140735197991696 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
23:19:00 T:140735197991696 DEBUG: OnKey: 0 (f200) pressed, action is
fforward:
23:19:02 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 009e, unicode: 0000, modifier: 0
23:19:02 T:140735197991696 DEBUG: GetActionCode: Trying Hardy keycode for 0xf200
23:19:02 T:140735197991696 DEBUG: OnKey: 0 (f200) pressed, action is
It appears that only the "sym:" bit is changing with the different buttons. I assume this is a HEX code (works out as 157 and 158 in decimal).
Any help would be much appreciated!