Alternative keymaps for low button remotes: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 14: Line 14:
# Highlight the keymap file from the "A" window, then press menu, and then select copy. This will copy the selected keymap to the Fire TV's userdata folder.
# Highlight the keymap file from the "A" window, then press menu, and then select copy. This will copy the selected keymap to the Fire TV's userdata folder.
# Now just restart Kodi to load the new keymap.
# Now just restart Kodi to load the new keymap.
=== Copy directly to userdata folder ===
# Save the keymap you want to use as a plain text file as "keymap.xml" (it can be anything as long as it ends in .xml)
# Use a file manager of your choice, such as the one build into your OS, and copy this file to the [[userdata folder]] within the '''keymaps''' folder.


== Basic navigation with play button ==
== Basic navigation with play button ==

Revision as of 08:42, 5 March 2016

Home icon grey.png   ▶ Remotes ▶ Alternative keymaps for low button remotes

Alternative keymaps for remote that have a low number of buttons, as suggested by the community.

Installing keymaps

There are a few methods to load custom keymaps on Kodi.

File manager

Kodi's built in file manager can be used to copy files from a network file share (such as SMB/Windows sharing) to the userdata folder.

  1. Save the keymap you want to use as a plain text file as "keymap.xml" (it can be anything as long as it ends in .xml) on the file share.
  2. Go to the File Manager in Kodi. For the default skin, Confluence, highlight the "System" tab and then select the submenu "File manager" option.
  3. Add the file share as a source in the "A" window, then navigate to where the keymap file is.
  4. In the "B" window go do the Profile directory which will be the userdata folder, then open the keymaps folder.
  5. Highlight the keymap file from the "A" window, then press menu, and then select copy. This will copy the selected keymap to the Fire TV's userdata folder.
  6. Now just restart Kodi to load the new keymap.

Copy directly to userdata folder

  1. Save the keymap you want to use as a plain text file as "keymap.xml" (it can be anything as long as it ends in .xml)
  2. Use a file manager of your choice, such as the one build into your OS, and copy this file to the userdata folder within the keymaps folder.

Basic navigation with play button

Changes from the default are shown in bold print.

Editor note: nice table goes here

Cut and paste the following into a new text document and save as keyboard.xml and place in userdata/keymaps/
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <Global>
    <keyboard>
      <escape>Back</escape>
      <play mod="longpress">sendclick(14)</play>
      <playpause mod="longpress">sendclick(14)</playpause>
    </keyboard>
  </Global>
  <Home>
    <keyboard>
      <backspace>ActivateWindow(Favourites)</backspace>
      <backspace mod="longpress">ActivateWindow(ShutdownMenu)</backspace>
      <browser_back>ActivateWindow(Favourites)</browser_back>
      <browser_back mod="longpress">ActivateWindow(ShutdownMenu)</browser_back>
      <escape>ActivateWindow(Favourites)</escape>
      <escape mod="longpress">ActivateWindow(ShutdownMenu)</escape>
    </keyboard>
  </Home>
  <VirtualKeyboard>
    <keyboard>
      <return mod="longpress">Enter</return>
      <enter mod="longpress">Enter</enter>
      <left mod="longpress">Backspace</left>
      <right mod="longpress">Number0</right> <!-- Spacebar -->
      <up mod="longpress">Shift</up>
      <down mod="longpress">Symbols</down>
      <backspace>PreviousMenu</backspace>
      <browser_back>PreviousMenu</browser_back>
    </keyboard>
  </VirtualKeyboard>
  <FullscreenVideo>
    <keyboard>
      <backspace>Stop</backspace>
      <browser_back>Stop</browser_back>
      <escape>Stop</escape>
      <backspace mod="longpress">FullScreen</backspace>
      <browser_back mod="longpress">FullScreen</browser_back>
      <escape mod="longpress">FullScreen</escape>
      <up mod="longpress">SkipNext</up>
      <down mod="longpress">SkipPrevious</down>
      <left mod="longpress">Rewind</left>
      <right mod="longpress">FastForward</right>
    </keyboard>
  </FullscreenVideo>
  <VideoOSD>
    <keyboard>
      <up mod="longpress">CodecInfo</up>
      <return mod="longpress">Back</return>
      <enter mod="longpress">Back</enter>
    </keyboard>
  </VideoOSD>
  <VideoMenu>
    <keyboard>
      <backspace>Stop</backspace>
      <browser_back>Stop</browser_back>
      <escape>Stop</escape>
      <return mod="longpress">OSD</return>
      <enter mod="longpress">OSD</enter>
    </keyboard>
  </VideoMenu>
  <FullscreenLiveTV>
    <keyboard>
      <return>OSD</return>
      <enter>OSD</enter>
    </keyboard>
  </FullscreenLiveTV>
  <FullscreenRadio>
    <keyboard>
      <return>OSD</return>
      <enter>OSD</enter>
    </keyboard>
  </FullscreenRadio>
  <Visualisation>
    <keyboard>
      <backspace mod="longpress">Stop</backspace>
      <browser_back mod="longpress">Stop</browser_back>
      <escape mod="longpress">Stop</escape>
    </keyboard>
  </Visualisation>
  <SlideShow>
    <keyboard>
      <up>ZoomIn</up>
      <down>ZoomOut</down>
      <left>PreviousPicture</left>
      <right>NextPicture</right>
      <up mod="longpress">Up</up> <!-- Longpress on direction keys for panning when zoomed in -->
      <down mod="longpress">Down</down>
      <left mod="longpress">Left</left>
      <right mod="longpress">Right</right>
      <backspace>Stop</backspace>
      <browser_back>Stop</browser_back>
      <return mod="longpress">Info</return>
      <enter mod="longpress">Info</enter>
    </keyboard>
  </SlideShow>
  <FileManager>
    <keyboard>
      <right mod="longpress">Highlight</right>
      <left mod="longpress">Highlight</left>
    </keyboard>
  </FileManager>
</keymap>