Keyboard.xml changes no longer working
#1
Hi Guys,

Have had a couple of changes in my keyboard.xml since running 10.1. Basically a mapping between menu button on harmony remote and the Context Menu plus a couple of other mappings. Now these changes worked in both 10.1 and 11.0 but since installing Frodo alpha 2 (May monthly build) these changes no longer work. I have checked in my userdata/keymap folder and the keyboard.xml file still contains my changes so I'm not sure why XBMC no longer allows these changes? Any help would be appreciated.

Thanks
Reply
#2
I didn't think the keyboard handling had changed significantly in Frodo. If you post more details I'll have a look.

You'll need to provide a debug log showing the problem. For example if I press C my debug log shows:

Code:
DEBUG: SDLKeyboard: scancode: 2e, sym: 0063, unicode: 0063, modifier: 0
DEBUG: CApplication::OnKey: c (f043) pressed, action is ContextMenu

This tells me what the raw keypress was, then how XBMC interpreted it. Ideally pop a complete log on http://pastebin.com/ (remember to enable debug logging) and also put a copy of your keyboard.xml on pastebin.
Reply
#3
Thanks for your reply,

When I press 'c' on the keyboard I get the same ContextMenu debug notification in the log, but when I press 'menu' on my harmony remote there is nothing posted in the log.
Reply
#4
If there's nothing posted in the log that means the menu button is not sending a keypress. Are you using Windows? If so grab Showkey from http://xbmcmce.sourceforge.net/ and use it to see what the menu button is sending.
Reply
#5
Yeah I have/use Showkey. There's definitely a key press registering for the harmony remote when 'menu' is pressed, just no longer working in XBMC.
Reply
#6
What keypress does ShowKey report? If you press the same key on the keyboard what happens?
Reply
#7
ShowKey reports the harmony 'menu' button as

<m mod="ctrl,shift"></m>

So I have <m mod="ctrl,shift">ContextMenu</m> in the keyboard.xml
Reply
#8
I've just tested with the current trunk build, and if I press ctrl-shift-M on the keyboard on the home screen my log shows:

Code:
DEBUG: Keyboard: scancode: 1d, sym: 0132, unicode: 0000, modifier: 40
DEBUG: CApplication::OnKey: ctrl-leftctrl (1f0d0) pressed, action is
DEBUG: Keyboard: scancode: 2a, sym: 0130, unicode: 0000, modifier: 41
DEBUG: CApplication::OnKey: ctrl-shift-leftshift (3f0d2) pressed, action is
DEBUG: Keyboard: scancode: 32, sym: 006d, unicode: 000d, modifier: 41
DEBUG: CApplication::OnKey: ctrl-shift-m (3f04d) pressed, action is PlayerControl(ShowVideoMenu)

Can you enable debug logging then restart XBMC, press the menu button a few times on the XBMC home screen then immediately close XBMC. Pop the log on http://pastebin.com/ and post the link here.

Did you try ctrl-shift-M from the keyboard?
Reply
#9
I'm having the exact same problem:

http://forum.xbmc.org/showthread.php?tid...pid1178500

My log is exactly the same, but it doesn't bring up the correct mapped action.

EDIT: Got it fixed.
Reply

Logout Mark Read Team Forum Stats Members Help
Keyboard.xml changes no longer working0