local keymaps not working any more
#1
I am running 10.08~svn32246-karmic1 from svn ppa on minimal install of ubuntu 9.10 i686.

After a recent update, I no longer get the OSD while playing a video by pressing the "ok" button on my gyration remote.

'm' on the keyboard does work.

I'm trying to force it to work with a keymap:

~/.xbmc/userdata/keymaps/remote.xml
Code:
<keymap>
  <global>
    <remote>
      <three>VolumeUp</three>
      <six>VolumeDown</six>
      <nine>Mute</nine>
      <play>Play</play>
      <pause>Pause</pause>
      <stop>Stop</stop>
      <forward>FastForward</forward>
      <reverse>Rewind</reverse>
      <left>Left</left>
      <right>Right</right>
      <up>Up</up>
      <down>Down</down>
      <select>Select</select>
      <pageplus>PageUp</pageplus>
      <pageminus>PageDown</pageminus>
      <back>ParentDir</back>
      <menu>PreviousMenu</menu>
      <title>ContextMenu</title>
      <info>Info</info>
      <skipplus>SkipNext</skipplus>
      <skipminus>SkipPrevious</skipminus>
      <display>FullScreen</display>
      <start>PreviousMenu</start>
      <record>Screenshot</record>
      <volumeplus>VolumeUp</volumeplus>
      <volumeminus>VolumeDown</volumeminus>
      <mute>Mute</mute>
      <power>XBMC.ShutDown()</power>
      <myvideo>XBMC.ActivateWindow(MyVideos)</myvideo>
      <mymusic>XBMC.ActivateWindow(MyMusic)</mymusic>
      <mypictures>XBMC.ActivateWindow(MyPictures)</mypictures>
      <mytv>XBMC.ActivateWindow(Home)</mytv>
    </remote>
  </global>
  <FullscreenVideo>
    <remote>
      <key id='61453'>OSD</key>
    </remote>
  </FullscreenVideo>
</keymap>

When I press the OK button, nothing happens. Here is the output of the button push in a debug log while in full screen video:

Code:
00:19:17 T:3078748032 M:1435512832   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
00:19:17 T:3078748032 M:1435512832   DEBUG: OnKey: 61453 pressed, action is Select

This used to work. Please help me get it to work again.
Reply
#2
Your remote is sending keyboard keycodes. Thus, you need to change the mapping in keyboard.xml.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
gsgleason Wrote:
Code:
00:19:17 T:3078748032 M:1435512832   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
00:19:17 T:3078748032 M:1435512832   DEBUG: OnKey: 61453 pressed, action is Select

This used to work. Please help me get it to work again.

<select>AspectRatio</select>

Add this to FullScreen section. Works just fine.

@jmarshall

Are the keymap/remote.xml things being worked on, or why do we have some stuff broken there? E.g. Pause breaking nav sounds, without applying the proper workaround in keymap/remote.xml (replacing Pause with Play).

boba
Reply
#4
I got it to work with jmarshall's advice. Thank you!

I do have one question, though. Given the debug output, why would the key id work but not <select> ?
Reply

Logout Mark Read Team Forum Stats Members Help
local keymaps not working any more0