Remote/keymap help in Gotham!
#1
I'm feeling like I'm at my end with this thing.
I'm stuck trying to understand if I should use <remote> or <keyboard> in my keymaps file (or should I use a remote file?!). I'm using a Harmony Remote programmed with an Windows Media Center SE keyset.

Gotham apparently took away the "Back" button is a small step back.

I'm stuck

I tried this:

Code:
<FullscreenVideo>
    <keyboard>
       <menu>SmallStepBack</menu>
    </keyboard>
</FullscreenVideo>

Because when I hit the button, the log shows:
Code:
DEBUG: OnKey: menu (0xd8) pressed, action is Back

I tried using the Yellow button

Code:
<FullscreenVideo>
    <keyboard>
       <Yellow>SmallStepBack</Yellow>
    </keyboard>
</FullscreenVideo>
Code:
DEBUG: OnKey: 253 (0xfd) pressed, action is XBMC.ActivateWindow(MyMusic)

OK...WTF

I just mapped the stupid key to the period button and saw this:
Code:
OnKey: leftbracket (0x28) pressed, action is

I guess this whole system is changed
Reply
#2
bump for help
Reply
#3
Use <remote>.
Reply
#4
(2014-05-15, 17:37)sufreak Wrote: Because when I hit the button, the log shows:
Code:
DEBUG: OnKey: menu (0xd8) pressed, action is Back

Firstly, yes you should be using <remote> instead of <keyboard>. But aside from that, I have just gone through a similar amount of head scratching trying to override the action of my "back" button... I have a feeling that the logs are reporting the wrong button name; the logs say "menu (0xd8) pressed", but I can alter the action using <back>Stop</back> in my remote.xml.
Reply
#5
I got it working with:

Code:
<FullscreenVideo>
  <keyboard>
   <key id="216">smallstepback</key>
   </keyboard>
</FullscreenVideo>
Reply
#6
I think it used to be that MCE color buttons wouldn't work under windows (for mapping using the color name), somebody correct me if I'm wrong.
Reply
#7
(2014-05-27, 01:54)sufreak Wrote:
Code:
<key id="216">smallstepback</key>

216 = 0xd8 which is what the log shows. So that makes sense. But according to XBIRRemote.h, 216 is XINPUT_IR_REMOTE_BACK. I would be willing to bet that:

Code:
<back>smallstepback</back>

would work too.

The problem here is that the log says "menu" when in actual fact the "back" key has been pressed.
Reply

Logout Mark Read Team Forum Stats Members Help
Remote/keymap help in Gotham!0