Solved Key mapping puzzler
#1
Here's a keymap puzzler.

The following does not seem to work:

Code:
<VideoOSD>
    <keyboard>
      <next_track>PlayerControl(SmallSkipForward)</next_track>
      <prev_track>PlayerControl(SmallSkipBackward)</prev_track>
    </keyboard>
  </VideoOSD>
  <FullScreenVideo>
    <keyboard>
      <next_track>PlayerControl(SmallSkipForward)</next_track>
      <prev_track>PlayerControl(SmallSkipBackward)</prev_track>
    </keyboard>
  </FullScreenVideo>

There are no keymap parsing errors in the log. The next and prev track keys go through to skip next/prev as mapped in the system keymap.

If I substitute some other keys for next/prev track, they work. Other media keys (like play/pause) also work.
If I map next and prev track in some other window, they work there.
Those particular keys just can't be mapped in the video window. Any ideas why?
HDHomerun Quatro, RaspPi/TVHeadend, NUC/Win10/Kodi, Mousetuary skin, Mouse on couch!
Reply
#2
Problem solved. Solution posted here in case anyone is interested/comment:

For some reason (as explained in http://kodi.wiki/view/Using_a_Microsoft_...in_Windows) media keys sometimes get send by appcommand messages. So the mappings need to be in an <appcommand> section.

Curiously, they work fine in the keyboard section for some windows (such as TVGuide, where I'm using them for scrolling) but not for the fullscreen video or OSD.
HDHomerun Quatro, RaspPi/TVHeadend, NUC/Win10/Kodi, Mousetuary skin, Mouse on couch!
Reply

Logout Mark Read Team Forum Stats Members Help
Key mapping puzzler0