<?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>
      <red>ActivateWindow(tvrecordings)</red>
      <green>ActivateWindow(tvchannels)</green>
      <yellow>ActivateWindow(Videos)</yellow>
      <blue>ContextMenu</blue>
    </remote>
  </global>
  <Home>
    <remote>
      <blue>ActivateWindow(Settings)</blue>
    </remote>
  </Home>
  <FullscreenVideo>
    <remote>
      <select>Info</select>
      <green>NextSubtitle</green>
      <yellow>AudioNextLanguage</yellow>
      <blue>CodecInfo</blue>
    </remote>
  </FullscreenVideo>
  <Videos>
    <remote>
      <red>ActivateWindow(tvrecordings)</red>
      <green>ActivateWindow(tvchannels)</green>
      <yellow>ActivateWindow(Videos)</yellow>
      <blue>ContextMenu</blue>
    </remote>
  </Videos>
  <TVRecordings>
    <remote>
      <red>ActivateWindow(tvrecordings)</red>
      <green>ActivateWindow(tvchannels)</green>
      <yellow>ActivateWindow(Videos)</yellow>
      <blue>ContextMenu</blue>
    </remote>
  </TVRecordings>
  <Pictures>
    <remote>
      <red>ActivateWindow(tvrecordings)</red>
      <green>ActivateWindow(tvchannels)</green>
      <yellow>ActivateWindow(Videos)</yellow>
      <blue>ContextMenu</blue>
    </remote>
  </Pictures>
  <Music>
    <remote>
      <red>ActivateWindow(tvrecordings)</red>
      <green>ActivateWindow(tvchannels)</green>
      <yellow>ActivateWindow(Videos)</yellow>
      <blue>ContextMenu</blue>
    </remote>
  </Music>
  <PlayerProcessInfo>
    <remote>
      <blue>Close</blue>
    </remote>
  </PlayerProcessInfo>
</keymap>
