custom keymap
#1
Hello again forum members...

I'm trying to get my generic remote to work with XBMC and I can't seem to get XBMC to acknowledge my custom keymap file. I've installed XBMC in "Portable" mode, and have copied "C:\Program Files\XBMC\system\keymaps\remote.xml" to "C:\Program Files\XBMC\userdata\keymaps\remote.xml" and have made the following changes:

Changed
<up>BigStepForward</up>
To
<up>ShowVideoMenu</up>
Added
<key id="273">ShowVideoMenu</key>

And neither change has had the desired effect (pressing the up button bringing the user to the DVD menu).

Here's what the debug log has to say:
14:28:45 T:2680 M:306786304 DEBUG: SDLKeyboard: scancode: 72, sym: 273, unicode: 0, modifier: 0
14:28:45 T:2680 M:306786304 DEBUG: CApplication::OnKey: 61478 pressed, action is 22
14:28:45 T:4080 M:306798592 DEBUG: CDVDDemuxFFmpeg::SeekChapter - chapter seeking using navigator
14:28:45 T:4080 M:308543488 WARNING: CDVDMessageQueue(teletext):Tongueut MSGQ_NOT_INITIALIZED
14:28:45 T:4080 M:308543488 DEBUG: CApplication::OnPlayBackSeekChapter - Playback skip
14:28:45 T:4080 M:308543488 DEBUG: DVDNAV_HOP_CHANNEL
Reply
#2
PS: The changes I made were in keymap/FullscreenVideo/remote.
Reply
#3
The remote appears as a keyboard to XBMC so you need to create a keyboard.xml file in C:\Program Files\XBMC\userdata\keymaps. Don't copy the one from system\keymaps. Instead create a new file with just the extra definitions you need. Anything you define in userdata\keymaps\keyboard.xml is added to, or overrides, the definitions in system\keymaps\keyboard.xml.

Anyhow, assuming you want the up key/button to show the menu when you're playing a video your keyboard.xml should contain:

Code:
<keymap>
  <FullscreenVideo>
    <keyboard>
      <up>BigStepForward</up>
    </keyboard>
  </FullscreenVideo>
</keymap>

JR
Reply
#4
A keyboard you say? Excellent, I'll try that! (assuming you meant I should replace BigStepForward with ShowVideoMenu...)
Reply

Logout Mark Read Team Forum Stats Members Help
custom keymap0