System: Asrock ION330 with Windows 7
Version: Dharma Beta 4
Problem: I'm having a problem with my Harmony remote losing the functions specified in the keymap.xml. The remote's setup to mimic a MCE remote; function 'Remote send keyboard presses' is enabled.
In my keymap.xml, the letter 'i' is configured to perform action 'Info' and also mapped (quite logically) to the button 'Info' on my remote. The following problem occurs now and then (unfortunately not reproducable, but it always occurs after ten minutes or so fiddling with the remote), the button 'Info' all of sudden stops performing action 'Info', but instead sends out just the letter 'i'. This is just one example; 'c' for action 'Context Menu' just sends 'c' etc.....
Debug log: Here
Problem starts at the third entry at 10:54:02, things I noticed are: modifier all of a sudden gets a value and 'trying keyboard action' isn't followed by a number anymore.
Harmony Remote losing function
Joined: Dec 2009
2010-11-18 12:21 Post: #1
(This post was last modified: 2010-11-18 12:27 by undeclinable22.)
Joined: Nov 2008
Location: Chester, UK
2010-11-18 19:32 Post: #2
Presumably the offending lines are:
DEBUG: SDLKeyboard: scancode: 42, sym: 304, unicode: 0, modifier: 40
DEBUG: CApplication::OnKey: 127136 pressed, action is
DEBUG: SDLKeyboard: scancode: 56, sym: 308, unicode: 0, modifier: 41
DEBUG: CApplication::OnKey: 258208 pressed, action is
DEBUG: SDLKeyboard: scancode: 91, sym: 311, unicode: 0, modifier: 141
DEBUG: CApplication::OnKey: 520352 pressed, action is
DEBUG: SDLKeyboard: scancode: 29, sym: 305, unicode: 0, modifier: 151
DEBUG: CApplication::OnKey: 1044640 pressed, action is
For some reason XBMC thinks various modifier keys are being held down. The modifier value is a combination of:
so starting at the third event for 10:54:02 XBMC thinks that the left control key is down (0x40) then ctrl-shift (0x41) then ctrl-alt-shift (0x141) then ctrl-shift-alt-windows (0x151) and so on.
Why this should be escapes me. I can't think of anything in XBMC that could cause it so my guess is it's your handset. Have you got the original MS handset? If so you could see if it does the same.
Are you using any helper software, like Eventghost, that might be contributing to the problem?
Joined: Dec 2009
2010-11-19 14:56 Post: #3
Thanks for the reply!!
I have to admit though that I made an error in my first post. The Harmony is mimicking an MCE Keyboard. Btw, I haven't got any helper-software like Eventghost installed. I'm going to try to get the Harmony to make use of the remote.xml instead of the keymap.xml (that one was easier to configure ) and see if the problem re-occurs.
Again, thanks for the assistance!