keyboard.xml not being picked up
#1
HI

Maybe i'm being dumb, but i've used keymapedit.exe to edit my keyboard.xml to allow me to skip to the next video in a playlist.

Keyboard.xml

<keymap>
<global>
<keyboard>
<period>skipnext</period>
<comma>skipprevious</comma>
</keyboard>
</global>
</keymap>

But it doesn't work. This is excerpts from the debug log

09:24:25 T:6740 DEBUG: CApplication::OnKey: period (0xf02e) pressed, action is StepForward

I believe this is the default keyboard mapping which suggests keyboard.xml is not overriding it. Am i doing something wrong. Any help appreciated. I'm on Windows 8.1 using Gotham Beta 4. Cheers.
Reply
#2
It's probably correct for "global", but there is probably a specific mapping for video playback that you need to override. Basically, add that a second time but also for <fullscreenvideo>, like this:

Code:
<keymap>
  <global>
    <keyboard>
      <period>skipnext</period>
      <comma>skipprevious</comma>
    </keyboard>
  </global>
  <fullscreenvideo>
    <keyboard>
      <period>skipnext</period>
      <comma>skipprevious</comma>
    </keyboard>
  </fullscreenvideo>
</keymap>
Reply
#3
That's great thanks very much, it sorted it. I'd assumed a global mapping would apply everywhere, but it didn't. Cheers
Reply

Logout Mark Read Team Forum Stats Members Help
keyboard.xml not being picked up0