FORUMS

Enhanced XBMC / Kodi keyboard.xml keymaps for LiveTV

280 posts
Thanks Meter: 9
 
By onlinespending, Senior Member on 1st September 2014, 05:55 AM
Post Reply Subscribe to Thread Email Thread
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.
The Following 2 Users Say Thank You to onlinespending For This Useful Post: [ View ]
 
 
4th September 2014, 10:21 PM |#2  
Member
Thanks Meter: 6
 
More
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.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes