Enhanced XBMC / Kodi keyboard.xml keymaps for LiveTV

Search This thread

onlinespending

Senior Member
Sep 2, 2007
293
11
I edited the 3rd alternative keymap keyboard.xml file that's here to include more specific controls to PVR when using the Live TV functionality of XBMC / Kodi.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <Global>
    <keyboard>
      <up>Up</up>
      <down>Down</down>
      <left>Left</left>
      <right>Right</right>
      <enter>Select</enter>
      <menu>ContextMenu</menu>
      <play_pause>Play</play_pause>
      <backspace>Back</backspace>
      <rewind>PageUp</rewind>
      <fastforward>PageDown</fastforward>
    </keyboard>
  </Global>
  <Home>
    <keyboard>
      <menu>XBMC.ActivateWindow(favourites)</menu>
    </keyboard>
  </Home>
  <FullscreenVideo>
    <keyboard>
      <up>ChapterOrBigStepForward</up>
      <down>ChapterOrBigStepBack</down>
      <left>StepBack</left>
      <right>StepForward</right>
      <return>OSD</return>
      <menu>ShowSubtitles</menu>
      <play_pause>Play</play_pause>
      <backspace>Stop</backspace>
      <rewind>Rewind</rewind>
      <fastforward>FastForward</fastforward>
    </keyboard>
  </FullscreenVideo>
  <FullscreenLiveTV>
    <keyboard>
      <up>XBMC.ActivateWindow(pvrosdchannels)</up>
      <down>XBMC.ActivateWindow(pvrosdchannels)</down>
      <left>StepBack</left>
      <right>StepForward</right>
      <return>OSD</return>
      <menu>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</menu>
      <play_pause>Play</play_pause>
      <backspace>Back</backspace>
      <rewind>Rewind</rewind>
      <fastforward>FastForward</fastforward>
    </keyboard>
  </FullscreenLiveTV>
</keymap>

Up/Down bring up Channels OSD. Menu brings up the full EPG. Back simply goes back rather than stopping the current TV program. The rest is the same.

I'm sure I'll find other enhancements that make sense for the XBMC Fire TV controls, but figured I'd share this much even now.
 
  • Like
Reactions: puppinoo and cmart4

puppinoo

Senior Member
Jun 14, 2008
190
36
Thanks a lot.
I ignored the existence of ChapterOrBigStep* command and the whole FullscreenLiveTV section.
Please update the post with more tips (I'd really like to use long press or double click).

Regards.
Pino.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    I edited the 3rd alternative keymap keyboard.xml file that's here to include more specific controls to PVR when using the Live TV functionality of XBMC / Kodi.

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <keymap>
      <Global>
        <keyboard>
          <up>Up</up>
          <down>Down</down>
          <left>Left</left>
          <right>Right</right>
          <enter>Select</enter>
          <menu>ContextMenu</menu>
          <play_pause>Play</play_pause>
          <backspace>Back</backspace>
          <rewind>PageUp</rewind>
          <fastforward>PageDown</fastforward>
        </keyboard>
      </Global>
      <Home>
        <keyboard>
          <menu>XBMC.ActivateWindow(favourites)</menu>
        </keyboard>
      </Home>
      <FullscreenVideo>
        <keyboard>
          <up>ChapterOrBigStepForward</up>
          <down>ChapterOrBigStepBack</down>
          <left>StepBack</left>
          <right>StepForward</right>
          <return>OSD</return>
          <menu>ShowSubtitles</menu>
          <play_pause>Play</play_pause>
          <backspace>Stop</backspace>
          <rewind>Rewind</rewind>
          <fastforward>FastForward</fastforward>
        </keyboard>
      </FullscreenVideo>
      <FullscreenLiveTV>
        <keyboard>
          <up>XBMC.ActivateWindow(pvrosdchannels)</up>
          <down>XBMC.ActivateWindow(pvrosdchannels)</down>
          <left>StepBack</left>
          <right>StepForward</right>
          <return>OSD</return>
          <menu>XBMC.ActivateWindowAndFocus(MyPVR, 31,0, 10,0)</menu>
          <play_pause>Play</play_pause>
          <backspace>Back</backspace>
          <rewind>Rewind</rewind>
          <fastforward>FastForward</fastforward>
        </keyboard>
      </FullscreenLiveTV>
    </keymap>

    Up/Down bring up Channels OSD. Menu brings up the full EPG. Back simply goes back rather than stopping the current TV program. The rest is the same.

    I'm sure I'll find other enhancements that make sense for the XBMC Fire TV controls, but figured I'd share this much even now.