2.4G Remote Control Air Mouse Wireless Keyboard for XBMC
#1
Hi. I've just purchased this remote for xbmc. It seems to work ok when you disable the annoying air mouse. however I would like to remap the keys. Is there way to do that. That would really help. Attached is the picture of the remote.

Remote Pictures
Reply
#2
any one used this remote. really would like to remap the keys
Reply
#3
I use a 2.4G not that one but similar.

you need to turn on debug mode:

http://wiki.xbmc.org/index.php?title=Set...#Debugging

than you can see in the log what the OnKey Press is and use keymaps (wiki) to map the keys you want...
יונתן בן-חיים
Reply
#4
Hi navigate.

I've got a very similar remote and I've already mapped it.
I also got the same remote as your but didn't yet found time to mapped it (or even to take it out of the box).

You can find at the link my keyboard.xml for the first remote (with few scripts to help with proper osd buttons mapping)/
When I'll get to the other remote I'll also post on the same link the mapping.

https://github.com/dhead666/xbmc-custom-keymaps
Reply
#5
(2013-09-19, 17:58)dhead Wrote: Hi navigate.

I've got a very similar remote and I've already mapped it.
I also got the same remote as your but didn't yet found time to mapped it (or even to take it out of the box).

You can find at the link my keyboard.xml for the first remote (with few scripts to help with proper osd buttons mapping)/
When I'll get to the other remote I'll also post on the same link the mapping.

https://github.com/dhead666/xbmc-custom-keymaps

Hi dhead thanks a lot for the help. Can you help on how do I get to know which commands are being sent by the color buttons. Really appreciate your walkthrough.
Reply
#6
I think there's an addon to help with that.
I just enable the xbmc debug logging and click on the buttons.
To quickly locate the the click events in the log I tend to click a few times on a one button that I recognize like Up and than the ones I need to find their OnKey codes.
Reply
#7
(2013-09-24, 02:06)dhead Wrote: I think there's an addon to help with that.
I just enable the xbmc debug logging and click on the buttons.
To quickly locate the the click events in the log I tend to click a few times on a one button that I recognize like Up and than the ones I need to find their OnKey codes.

Interesting. on the debug logs. I didn't know that was possible. I'll try that. I don't know how to map to button clicks. For example can I assign the red click to Control Shift T? this will activate a hotkey to restart the PC using the hotkeyp application.
Reply
#8
Lightbulb 
(2013-09-24, 20:11)navigates Wrote:
(2013-09-24, 02:06)dhead Wrote: I think there's an addon to help with that.
I just enable the xbmc debug logging and click on the buttons.
To quickly locate the the click events in the log I tend to click a few times on a one button that I recognize like Up and than the ones I need to find their OnKey codes.

Interesting. on the debug logs. I didn't know that was possible. I'll try that. I don't know how to map to button clicks. For example can I assign the red click to Control Shift T? this will activate a hotkey to restart the PC using the hotkeyp application.

I just got this remote - I have a comment:
- the coloured buttons are for IR (infra-red) signals to your TV, not through the USB dongle (assuming i read the instructions right, badly written!)

- how did you disable the airmouse function? it turns on every time i press a key, which is really annoying!!!
Reply
#9
hi there, i too would like to know how to disable the air mouse on the remote

thanks
Reply
#10
(2013-09-17, 20:36)navigates Wrote: Hi. I've just purchased this remote for xbmc. It seems to work ok when you disable the annoying air mouse. however I would like to remap the keys. Is there way to do that. That would really help. Attached is the picture of the remote.

Remote Pictures

(2014-07-02, 23:23)chrisonxbmc Wrote:
(2013-09-24, 20:11)navigates Wrote:
(2013-09-24, 02:06)dhead Wrote: I think there's an addon to help with that.
I just enable the xbmc debug logging and click on the buttons.
To quickly locate the the click events in the log I tend to click a few times on a one button that I recognize like Up and than the ones I need to find their OnKey codes.

Interesting. on the debug logs. I didn't know that was possible. I'll try that. I don't know how to map to button clicks. For example can I assign the red click to Control Shift T? this will activate a hotkey to restart the PC using the hotkeyp application.

I just got this remote - I have a comment:
- the coloured buttons are for IR (infra-red) signals to your TV, not through the USB dongle (assuming i read the instructions right, badly written!)

- how did you disable the airmouse function? it turns on every time i press a key, which is really annoying!!!

(2014-07-28, 17:56)Ashgarth Wrote: hi there, i too would like to know how to disable the air mouse on the remote

thanks

What operating system are you all using? Without knowing that at least, I cannot help much beyond recommending the above.
Reply
#11
hi iam new to all this so please excuse me but i think its frodo xbmc

would that be right ?
Reply
#12
(2014-07-28, 19:48)Soul_Est Wrote: What operating system are you all using? Without knowing that at least, I cannot help much beyond recommending the above.

whoops - its Android 4.2 (rooted) for me.

I am currently using the Beyond XBMC build of Frodo, which is a build containing libstagefright tweaks to make hardware accelerated video work on the device.

Oh, and after digging through the log files I saw the following entries. The "sym" is a unique code for each button, how can I tell XBMC to respond to the FF / REW?

Pause:
23:18:57 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 00b3, unicode: 0000, modifier: 0
23:18:57 T:140735197991696 DEBUG: OnKey: play_pause (f0bd) pressed, action is Pause

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

skip_prev
23:19:06 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 00b1, unicode: 0000, modifier: 0
23:19:06 T:140735197991696 DEBUG: OnKey: prev_track (f0bb) pressed, action is SkipPrevious

skip_next
23:19:08 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 00b0, unicode: 0000, modifier: 0
23:19:08 T:140735197991696 DEBUG: OnKey: next_track (f0ba) pressed, action is SkipNext
Reply
#13
(2014-07-28, 20:49)Ashgarth Wrote: hi iam new to all this so please excuse me but i think its frodo xbmc

would that be right ?

No, the operating system is what XBMC is running on. What device or computer are you running XBMC on?

(2014-07-30, 18:23)chrisonxbmc Wrote:
(2014-07-28, 19:48)Soul_Est Wrote: What operating system are you all using? Without knowing that at least, I cannot help much beyond recommending the above.

whoops - its Android 4.2 (rooted) for me.

I am currently using the Beyond XBMC build of Frodo, which is a build containing libstagefright tweaks to make hardware accelerated video work on the device.

Oh, and after digging through the log files I saw the following entries. The "sym" is a unique code for each button, how can I tell XBMC to respond to the FF / REW?

Pause:
23:18:57 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 00b3, unicode: 0000, modifier: 0
23:18:57 T:140735197991696 DEBUG: OnKey: play_pause (f0bd) pressed, action is Pause

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

skip_prev
23:19:06 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 00b1, unicode: 0000, modifier: 0
23:19:06 T:140735197991696 DEBUG: OnKey: prev_track (f0bb) pressed, action is SkipPrevious

skip_next
23:19:08 T:140735197991696 DEBUG: Keyboard: scancode: 00, sym: 00b0, unicode: 0000, modifier: 0
23:19:08 T:140735197991696 DEBUG: OnKey: next_track (f0ba) pressed, action is SkipNext

That probably requires a .kl file. search for Mele F10 Android and you should find what you are looking for in terms of what to do to get it to work.
Reply
#14
Thanks for the suggestion Sout_Est, but my main problem is knowing what the keycode numbers are - the Mele kl files are full of codes which people have worked out for each button, i am stuck with having HEX numbers called "sym:" which I saw in the log.

OK, so i have been looking through http://source.android.com/devices/tech/i...vices.html

and there is a long list of key codes. I find matches for my HEX numbers in the HID column:
HID codes HID usage name
0x07 0x009d Keyboard Prior
0x07 0x009e Keyboard Return
also
HID codes HID usage name
0x0c 0x009d Channel Decrement

HID doesnt sound right to me, as I recorded the codes on Android, I think the column AKD with Android Key codes is more likely to be the one:

AKD --- Android code name
0x009d KEYCODE_NUMPAD_ADD

and 009e:
0x009e KEYCODE_NUMPAD_DOT


Can I tell XBMC to respond to "KEYCODE_NUMPAD_ADD" with a rewind and "KEYCODE_NUMPAD_DOT" with fforward?
Reply
#15
Those codes are actually scancodes, not keycodes. Keycodes are, at most, three numbers long. Read through the thread here: http://minixforums.com/threads/mele-f10-...-etc.1323/ and especially this post: http://minixforums.com/threads/mele-f10-...#post-7637 as well as this document: https://docs.google.com/a/xyz.pp.se/draw...rWJ4o/edit.
Reply

Logout Mark Read Team Forum Stats Members Help
2.4G Remote Control Air Mouse Wireless Keyboard for XBMC1