<?xml version="1.0" encoding="UTF-8"?>
<!-- This file contains the mapping of remote keys to actions within Kodi.                -->
<!--                                                                                      -->
<!-- The format is:                                                                       -->
<!--  <window>                                                                            -->
<!--    <device>                                                                          -->
<!--      <button>action</button>                                                         -->
<!--    </device>                                                                         -->
<!--  </window>                                                                           -->
<!--                                                                                      -->
<!-- The <global> section is a fall through - they will only be used if the button is     -->
<!-- not used in the current window's section.                                            -->
<!--                                                                                      -->
<!-- Actions can be built-in functions.                                                   -->
<!--  eg <B>ActivateWindow(Music)</B>                                                     -->
<!-- would automatically go to Music on the press of the B button.                        -->
<!--                                                                                      -->
<!-- An empty action removes the corresponding mapping from default and parent keymaps.   -->
<!-- This is different from a "noop" action, which disables a button.                     -->
<!--                                                                                      -->
<!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps          -->
<keymap>
  <global>
    <remote>
      <play>PlayPause</play>
      <pause>Pause</pause>
      <stop>Stop</stop>
      <forward>FastForward</forward>
      <reverse>Rewind</reverse>
      <left>Left</left>
      <right>Right</right>
      <up>Up</up>
      <down>Down</down>
      <select>Select</select>
      <enter>FullScreen</enter> 
      <pageplus>PageUp</pageplus>
      <pageminus>PageDown</pageminus>
      <back>Back</back>
      <menu>ContextMenu</menu>
      <contentsmenu>PreviousMenu</contentsmenu>
      <rootmenu>PreviousMenu</rootmenu>
      <title>ContextMenu</title>
      <info>Info</info>
      <skipplus>SkipNext</skipplus>
      <skipminus>SkipPrevious</skipminus>
      <display>FullScreen</display>
      <start>PreviousMenu</start>
      <record>Record</record>
      <eject>EjectTray()</eject>
      <volumeplus>VolumeUp</volumeplus>
      <volumeminus>VolumeDown</volumeminus>
      <mute>Mute</mute>
      <power>ShutDown()</power>
      <myvideo>ActivateWindow(Videos)</myvideo>
      <mymusic>ActivateWindow(Music)</mymusic>
      <mypictures>ActivateWindow(Pictures)</mypictures>
      <mytv>ActivateWindow(Videos,TvShows)</mytv>
      <guide>ActivateWindow(TVGuide)</guide>
      <livetv>ActivateWindow(TVChannels)</livetv>
      <liveradio>ActivateWindow(RadioChannels)</liveradio>
      <recordedtv>ActivateWindow(TVRecordings)</recordedtv>
      <epgsearch>ActivateWindow(TVSearch)</epgsearch>
      <red>ActivateWindow(TVChannels)</red>
      <green>ActivateWindow(Videos)</green>
      <yellow>ActivateWindow(Music)</yellow>
      <blue>ActivateWindow(Pictures)</blue>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>JumpSMS2</two>
      <three>JumpSMS3</three>
      <four>JumpSMS4</four>
      <five>JumpSMS5</five>
      <six>JumpSMS6</six>
      <seven>JumpSMS7</seven>
      <eight>JumpSMS8</eight>
      <nine>JumpSMS9</nine>
      <print>Screenshot</print>
    </remote>
  </global>
  <Home>
    <remote>
      <clear>ActivateWindow(Weather)</clear>
      <hash>ActivateWindow(Settings)</hash>
    </remote>
  </Home>
  <TVRecordings>
    <remote>
      <clear>Delete</clear>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
    </remote>
  </TVRecordings>
  <TVTimers>
    <remote>
      <clear>Delete</clear>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
    </remote>
  </TVTimers>
  <TVTimerRules>
    <remote>
      <clear>Delete</clear>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
    </remote>
  </TVTimerRules>
  <RadioRecordings>
    <remote>
      <clear>Delete</clear>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
    </remote>
  </RadioRecordings>
  <RadioTimers>
    <remote>
      <clear>Delete</clear>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
    </remote>
  </RadioTimers>
  <RadioTimerRules>
    <remote>
      <clear>Delete</clear>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
    </remote>
  </RadioTimerRules>
  <FileManager>
    <remote>
      <clear>Delete</clear>
      <zero>Highlight</zero>
      <star>Move</star>
      <hash>Rename</hash>
    </remote>
  </FileManager>
  <FileBrowser>
    <remote>
      <zero>Highlight</zero>
    </remote>
  </FileBrowser>
  <MusicPlaylist>
    <remote>
      <clear>Delete</clear>
      <zero>Delete</zero>
    </remote>
  </MusicPlaylist>
  <MusicPlaylistEditor>
    <remote>
      <zero>Queue</zero>
    </remote>
  </MusicPlaylistEditor>
  <Music>
    <remote>
      <zero>Queue</zero>
      <star>Queue</star>
    </remote>
  </Music>
  <Pictures>
    <remote>
      <clear>Delete</clear>
    </remote>
  </Pictures>
  <FullscreenVideo>
    <remote>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>Number2</two>
      <three>Number3</three>
      <four>Number4</four>
      <five>Number5</five>
      <six>Number6</six>
      <seven>Number7</seven>
      <eight>Number8</eight>
      <nine>Number9</nine>
      <left>StepBack</left>
      <right>StepForward</right>
      <up>ChapterOrBigStepForward</up>
      <down>ChapterOrBigStepBack</down>
      <back>Back</back>
      <menu>OSD</menu>
      <contentsmenu>OSD</contentsmenu>
      <rootmenu>OSD</rootmenu>
      <start>OSD</start>
      <select>OSD</select>
      <title>PlayerProcessInfo</title>
      <info>Info</info>
      <guide>ActivateWindow(PVROSDGuide)</guide>
      <teletext>ActivateWindow(Teletext)</teletext>
      <subtitle>NextSubtitle</subtitle>
      <star>NextSubtitle</star>
      <language>AudioNextLanguage</language>
      <playlist>Playlist</playlist>
      <hash>AudioNextLanguage</hash>
      <pageplus>SkipNext</pageplus>
      <pageminus>SkipPrevious</pageminus>
    </remote>
  </FullscreenVideo>
  <VideoTimeSeek>
    <remote>
      <select>Select</select>
      <enter>Select</enter>
    </remote>
  </VideoTimeSeek>
  <FullscreenInfo>
    <remote>
      <title>PlayerProcessInfo</title>
      <info>Back</info>
      <menu>OSD</menu>
      <contentsmenu>OSD</contentsmenu>
      <rootmenu>OSD</rootmenu>
    </remote>
  </FullscreenInfo>
  <PlayerControls>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
    </remote>
  </PlayerControls>
  <Visualisation>
    <remote>
      <left>StepBack</left>
      <right>StepForward</right>
      <up>SkipNext</up>
      <down>SkipPrevious</down>
      <pageplus>IncreaseRating</pageplus>
      <pageminus>DecreaseRating</pageminus>
      <back>Back</back>
      <title>PlayerProcessInfo</title>
      <select>OSD</select>
      <menu>OSD</menu>
      <contentsmenu>OSD</contentsmenu>
      <rootmenu>OSD</rootmenu>
      <start>OSD</start>
      <info>Info</info>
      <guide>ActivateWindow(PVROSDGuide)</guide>
      <playlist>ActivateWindow(PVROSDChannels)</playlist>
    </remote>
  </Visualisation>
  <MusicOSD>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
      <title>Info</title>
      <info>PlayerProcessInfo</info>
    </remote>
  </MusicOSD>
  <VisualisationPresetList>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
    </remote>
  </VisualisationPresetList>
  <SlideShow>
    <remote>
      <zero>ZoomNormal</zero>
      <one>ZoomLevel1</one>
      <two>ZoomLevel2</two>
      <three>ZoomLevel3</three>
      <four>ZoomLevel4</four>
      <five>ZoomLevel5</five>
      <six>ZoomLevel6</six>
      <seven>ZoomLevel7</seven>
      <eight>ZoomLevel8</eight>
      <nine>ZoomLevel9</nine>
      <info>Info</info>
      <skipplus>NextPicture</skipplus>
      <skipminus>PreviousPicture</skipminus>
      <title>Info</title>
      <select>Rotate</select>
    </remote>
  </SlideShow>
  <ScreenCalibration>
    <remote>
      <select>NextCalibration</select>
      <zero>ResetCalibration</zero>
      <display>NextResolution</display>
      <xbox>NextResolution</xbox>
    </remote>
  </ScreenCalibration>
  <ScreenCalibration>
    <remote>
      <select>NextCalibration</select>
      <zero>ResetCalibration</zero>
    </remote>
  </ScreenCalibration>
  <VideoOSD>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
      <start>Back</start>
    </remote>
  </VideoOSD>
  <VideoMenu>
    <remote>
      <menu>OSD</menu>
      <contentsmenu>OSD</contentsmenu>
      <rootmenu>OSD</rootmenu>
      <info>Info</info>
      <title>PlayerProcessInfo</title>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>Number2</two>
      <three>Number3</three>
      <four>Number4</four>
      <five>Number5</five>
      <six>Number6</six>
      <seven>Number7</seven>
      <eight>Number8</eight>
      <nine>Number9</nine>
      <play>Select</play>
      <pageplus>SkipNext</pageplus>
      <pageminus>SkipPrevious</pageminus>
    </remote>
  </VideoMenu>
  <OSDVideoSettings>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
      <start>Back</start>
    </remote>
  </OSDVideoSettings>
  <OSDAudioSettings>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
      <start>Back</start>
    </remote>
  </OSDAudioSettings>
  <VideoBookmarks>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
      <start>Back</start>
      <zero>Delete</zero>
    </remote>
  </VideoBookmarks>
  <Videos>
    <remote>
      <zero>Queue</zero>
      <clear>Delete</clear>
    </remote>
  </Videos>
  <VideoPlaylist>
    <remote>
      <clear>Delete</clear>
      <zero>Delete</zero>
    </remote>
  </VideoPlaylist>
  <VirtualKeyboard>
    <remote>
      <back>Back</back>
      <star>Shift</star>
      <hash>Symbols</hash>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>Number2</two>
      <three>Number3</three>
      <four>Number4</four>
      <five>Number5</five>
      <six>Number6</six>
      <seven>Number7</seven>
      <eight>Number8</eight>
      <nine>Number9</nine>
      <enter>Enter</enter>
      <pageminus>CursorLeft</pageminus>
      <pageplus>CursorRight</pageplus>
    </remote>
  </VirtualKeyboard>
  <ContextMenu>
    <remote>
      <title>Back</title>
    </remote>
  </ContextMenu>
  <Programs>
    <remote>
      <info>info</info>
    </remote>
  </Programs>
  <NumericInput>
    <remote>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>Number2</two>
      <three>Number3</three>
      <four>Number4</four>
      <five>Number5</five>
      <six>Number6</six>
      <seven>Number7</seven>
      <eight>Number8</eight>
      <nine>Number9</nine>
      <enter>Enter</enter>
      <back>Back</back>
    </remote>
  </NumericInput>
  <Weather>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </Weather>
  <Settings>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </Settings>
  <AddonBrowser>
    <remote>
    </remote>
  </AddonBrowser>
  <AddonInformation>
    <remote>
      <back>Close</back>
    </remote>
  </AddonInformation>
  <AddonSettings>
    <remote>
      <back>Close</back>
    </remote>
  </AddonSettings>
  <TextViewer>
    <remote>
      <back>Close</back>
    </remote>
  </TextViewer>
  <PlayerSettings>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </PlayerSettings>
  <MediaSettings>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </MediaSettings>
  <SystemSettings>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </SystemSettings>
  <ServiceSettings>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </ServiceSettings>
  <InterfaceSettings>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </InterfaceSettings>
  <Profiles>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </Profiles>
  <systeminfo>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </systeminfo>
  <shutdownmenu>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </shutdownmenu>
  <submenu>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </submenu>
  <MusicInformation>
    <remote>
      <info>Back</info>
    </remote>
  </MusicInformation>
  <MovieInformation>
    <remote>
      <info>Back</info>
    </remote>
  </MovieInformation>
  <LockSettings>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
    </remote>
  </LockSettings>
  <ProfileSettings>
    <remote>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
    </remote>
  </ProfileSettings>
  <PictureInfo>
    <remote>
      <skipplus>NextPicture</skipplus>
      <skipminus>PreviousPicture</skipminus>
      <info>Back</info>
    </remote>
  </PictureInfo>
  <Teletext>
    <remote>
      <zero>number0</zero>
      <one>number1</one>
      <two>number2</two>
      <three>number3</three>
      <four>number4</four>
      <five>number5</five>
      <six>number6</six>
      <seven>number7</seven>
      <eight>number8</eight>
      <nine>number9</nine>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
      <info>Info</info>
      <menu>Back</menu>
      <contentsmenu>Back</contentsmenu>
      <rootmenu>Back</rootmenu>
      <start>Back</start>
      <teletext>Back</teletext>
    </remote>
  </Teletext>
  <Favourites>
    <remote>
      <back>Close</back>
    </remote>
  </Favourites>
  <FullscreenLiveTV>
    <remote>
      <left>StepBack</left>
      <right>StepForward</right>
      <up>Up</up>
      <down>Down</down>
      <pageplus>ChannelUp</pageplus>
      <pageminus>ChannelDown</pageminus>
    </remote>
  </FullscreenLiveTV>
  <FullscreenRadio>
    <remote>
      <left>StepBack</left>
      <right>StepForward</right>
      <up>Up</up>
      <down>Down</down>
      <pageplus>ChannelUp</pageplus>
      <pageminus>ChannelDown</pageminus>
    </remote>
  </FullscreenRadio>
  <PVROSDChannels>
    <remote>
      <back>Close</back>
      <menu>Close</menu>
      <contentsmenu>Close</contentsmenu>
      <rootmenu>Close</rootmenu>
      <start>Close</start>
      <playlist>Close</playlist>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>number2</two>
      <three>number3</three>
      <four>number4</four>
      <five>number5</five>
      <six>number6</six>
      <seven>number7</seven>
      <eight>number8</eight>
      <nine>number9</nine>
    </remote>
  </PVROSDChannels>
  <PVROSDGuide>
    <remote>
      <back>Close</back>
      <menu>Close</menu>
      <contentsmenu>Close</contentsmenu>
      <rootmenu>Close</rootmenu>
      <start>Close</start>
      <guide>Close</guide>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>number2</two>
      <three>number3</three>
      <four>number4</four>
      <five>number5</five>
      <six>number6</six>
      <seven>number7</seven>
      <eight>number8</eight>
      <nine>number9</nine>
    </remote>
  </PVROSDGuide>
  <TVChannels>
    <remote>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>number2</two>
      <three>number3</three>
      <four>number4</four>
      <five>number5</five>
      <six>number6</six>
      <seven>number7</seven>
      <eight>number8</eight>
      <nine>number9</nine>
    </remote>
  </TVChannels>
  <TVGuide>
    <remote>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>number2</two>
      <three>number3</three>
      <four>number4</four>
      <five>number5</five>
      <six>number6</six>
      <seven>number7</seven>
      <eight>number8</eight>
      <nine>number9</nine>
    </remote>
  </TVGuide>
  <RadioChannels>
    <remote>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>number2</two>
      <three>number3</three>
      <four>number4</four>
      <five>number5</five>
      <six>number6</six>
      <seven>number7</seven>
      <eight>number8</eight>
      <nine>number9</nine>
    </remote>
  </RadioChannels>
  <RadioGuide>
    <remote>
      <zero>Number0</zero>
      <one>Number1</one>
      <two>number2</two>
      <three>number3</three>
      <four>number4</four>
      <five>number5</five>
      <six>number6</six>
      <seven>number7</seven>
      <eight>number8</eight>
      <nine>number9</nine>
    </remote>
  </RadioGuide>
  <PVRSettings>
    <remote>
      <back>PreviousMenu</back>
    </remote>
  </PVRSettings>
  <Addon>
    <remote>
      <red>Red</red>
      <green>Green</green>
      <yellow>Yellow</yellow>
      <blue>Blue</blue>
    </remote>
  </Addon>
  <PlayerProcessInfo>
    <remote>
      <title>PlayerProcessInfo</title>
    </remote>
  </PlayerProcessInfo>
</keymap>
