In Windows most remotes work by emulating keyboards i.e. when you press a button on the remote Windows thinks a key on the keyboard has been pressed. That means you need to customise the remote actions by creating/editing a userdata\keymaps\keyboard.xml file (don't edit the master copy in C:\Program Files\XBMC).
Unless you love hand editing XML the easiest way to manage key mappings is to grab KeyMapEdit from http://xbmcmce.sourceforge.net/. To add a mapping for a button choose "Detect keypress" from the "Keymap" menu, press the button the remote and fill in the "Add keypress" dialog with whatever action you want.
NB the MCERemote can only configure eHome remotes and will not do anything unless your remote uses the eHome driver, which it probably doesn't. See http://wiki.xbmc.org/index.php?title=Usi...in_Windows for how to tell if your remote uses the eHome driver.
jhsrennie
Team-XBMC Developer Posts: 7,237 Joined: Nov 2008 Reputation: 117 Location: Chester, UK |
2012-05-04 11:03
Post: #11
|
| find quote |
g.scholtens
Senior Member Posts: 202 Joined: Apr 2012 Reputation: 0 |
2012-05-04 11:27
Post: #12
Thnx, wil try to edit the keyboard.xml file.
It's only one buttons i wanted to use extra. |
| find quote |
g.scholtens
Senior Member Posts: 202 Joined: Apr 2012 Reputation: 0 |
2012-05-07 15:56
Post: #13
No solution.
Must i delete the original file for keyboard.xml and only use the one in custom keymaps? |
| find quote |
kricker
Team-XBMC QA Specialist Posts: 3,307 Joined: Apr 2004 Reputation: 16 Location: Knoxville, TN |
2012-05-07 16:31
Post: #14
No. If you have a custom keymap in the right location, XBMC will prefer that keymap.
|
| find quote |
g.scholtens
Senior Member Posts: 202 Joined: Apr 2012 Reputation: 0 |
2012-05-08 08:43
Post: #15
What else could be the problem?
|
| find quote |
HenryFord
Posting Freak Posts: 1,002 Joined: Jan 2010 Reputation: 14 |
2012-05-08 10:59
Post: #16
Enable debug logging via the settings-menu.
After you have done that, click the "*"-key a few times. The Logfile will show which keys were pressed - you can then use that information to edit the keymap. More information about the logfile (location, etc.): http://wiki.xbmc.org/index.php?title=Log_file If you aren't sure, just post the debug-log at pastebin.org and give us the link. We can check it out. Need help? Check out my XBMC Eden Guide. It contains full featured guides to Sickbeard and CouchPotato as well. |
| find quote |
g.scholtens
Senior Member Posts: 202 Joined: Apr 2012 Reputation: 0 |
2012-05-10 08:17
Post: #17
I've enabled log mode.
Here's some info from my log. 07:41:21 T:2208 NOTICE: Loading media sources from special://masterprofile/sources.xml 07:41:22 T:2208 ERROR: Error loading keymap: special://xbmc/system/keymaps/remote.xml, Line 55 Error reading end tag. 07:41:22 T:2208 ERROR: Error loading keymap: special://masterprofile/keymaps/keyboard.xml, Line 61 Error reading end tag. 07:41:22 T:2208 ERROR: Error loading keymap: special://profile/keymaps/keyboard.xml, Line 61 Error reading end tag. 07:41:22 T:2208 NOTICE: initializing playlistplayer When is press # on my remote i get this info in the log: 07:48:40 T:2208 DEBUG: CApplication::OnKey: leftshift (f0d2) pressed, action is 07:48:40 T:2208 DEBUG: SDLKeyboard: scancode: 04, sym: 0033, unicode: 0023, modifier: 1 And mu custom keyboard file: <keymap> <global> <keyboard> <#>ContextMenu</#> |
| find quote |
jhsrennie
Team-XBMC Developer Posts: 7,237 Joined: Nov 2008 Reputation: 117 Location: Chester, UK |
2012-05-10 11:14
Post: #18
Code: ERROR: Error loading keymap: special://xbmc/system/keymaps/remote.xml, Line 55You have syntax errors in your XML files. Replace the C:\Program Files\XBMC\system\keymaps\remote.xml with the version from https://github.com/xbmc/xbmc/blob/Eden/s...remote.xml (or just reinstall XBMC). Post your keyboard.xml here, or delete it and use KeyMapEdit from http://xbmcmce.sourceforge.net/ to create a new error free version. The tag for # is <hash> not <#>. |
| find quote |


![[Image: all-fanart.jpg]](http://trakt.tv/user/HenryFord/widgets/watched/all-fanart.jpg)
Search
Help