Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,359 Members 39,580 Now Online
XDA Developers Android and Mobile Development Forum

Enhanced XBMC / Kodi keyboard.xml keymaps for LiveTV

Tip us?
 
onlinespending
Old
#1  
Senior Member - OP
Thanks Meter 8
Posts: 266
Join Date: Sep 2007
Default Enhanced XBMC / Kodi keyboard.xml keymaps for LiveTV

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: [ Click to Expand ]
 
puppinoo
Old
#2  
Junior Member
Thanks Meter 1
Posts: 22
Join Date: Jun 2008
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.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes