Alternative keymap for WeTek remotes

From Official Kodi Wiki
Jump to: navigation, search
Home icon grey.png   ▶ WeTek Play ▶ Alternative keymap for WeTek remotes

Alternative keymaps for the WeTek Play, OpenELEC, and WeTek Core remotes, as suggested by the community.

Contents


1 Installing keymaps

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

1.1 File manager

Kodi's built in file manager can be used to copy files from a network file share (such as SMB/Windows sharing), or a USB thumb drive, 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.

1.2 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.
Note: In older versions of the software (before v14) the kodi directories were named xbmc.
Operative system File path
Android Android/data/org.xbmc.kodi/files/.kodi/userdata/ (see note)
iOS /private/var/mobile/Library/Preferences/Kodi/userdata/
Linux ~/.kodi/userdata/
Mac /Users/<your_user_name>/Library/Application Support/Kodi/userdata/ (see note)
LibreELEC/OpenELEC /storage/.kodi/userdata/
Windows Start - type %APPDATA%\kodi\userdata - press <Enter>


2 Keymap 1

WeTek remotes.jpg
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>
      <play_pause>PlayPause</play_pause>
      <play_pause mod="longpress">Info</play_pause>
      <f2>ActivateWindow(TVGuide)</f2>
      <f3>ActivateWindow(Home)</f3>
      <f4>ContextMenu</f4>
      <f4 mod="longpress">Menu</f4>
      <f6>Info</f6>
      <f6 mod="longpress">PlayPause</f6>
      <f7>ContextMenu</f7>
      <f7 mod="longpress">Menu</f7>
      <f11>ShowSubtitles</f11>
      <escape>Back</escape>
      <escape mod="longpress">ActivateWindow(Home)</escape>
      <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>
    </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>
  <FullscreenVideo>
    <keyboard>
      <f4>Playlist</f4>
      <f7>Playlist</f7>
      <escape>Stop</escape>
      <escape mod="longpress">Fullscreen</escape>
      <backspace>Stop</backspace>
      <backspace mod="longpress">Fullscreen</backspace>
      <browser_back>Stop</browser_back>
      <browser_back mod="longpress">Fullscreen</browser_back>
      <return>PlayPause</return>
      <return mod="longpress">OSD</return>
      <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>
      <backspace mod="longpress">FullScreen</backspace>
      <browser_back mod="longpress">FullScreen</browser_back>
      <escape mod="longpress">FullScreen</escape>
      <up mod="longpress">AudioNextLanguage</up>
      <down mod="longpress">NextSubtitle</down>
      <left mod="longpress">Rewind</left>
      <right mod="longpress">FastForward</right>
    </keyboard>
  </FullscreenVideo>
  <Visualisation>
    <keyboard>
      <f4>Playlist</f4>
      <f7>Playlist</f7>
      <return>PlayPause</return>
      <return mod="longpress">OSD</return>
      <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 mod="longpress">Rewind</left>
      <right mod="longpress">FastForward</right>
      <backspace mod="longpress">Stop</backspace>
      <browser_back mod="longpress">Stop</browser_back>
      <escape mod="longpress">Stop</escape>
    </keyboard>
  </Visualisation>
  <VirtualKeyboard>
    <keyboard>
      <f1>Backspace</f1>
      <f2>Shift</f2>
      <f6>Enter</f6>
      <play_pause>Enter</play_pause>
      <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>
      <backspace>Backspace</backspace>
      <browser_back>PreviousMenu</browser_back>
      <escape>PreviousMenu</escape>
    </keyboard>
  </VirtualKeyboard>
  <VideoMenu>
    <keyboard>
      <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>
      <return mod="longpress">OSD</return>
      <enter mod="longpress">OSD</enter>
    </keyboard>
  </VideoMenu>
  <NumericInput>
    <keyboard>
      <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>
    </keyboard>
  </NumericInput>
  <Teletext>
    <keyboard>
      <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>
    </keyboard>
  </Teletext>
  <VideoOSD>
    <keyboard>
      <return mod="longpress">Back</return>
      <enter mod="longpress">Back</enter>
    </keyboard>
  </VideoOSD>
  <ContextMenu>
    <keyboard>
      <f4>Back</f4>
      <f7>Back</f7>
    </keyboard>
  </ContextMenu>
  <PVROSDChannels>
    <keyboard>
      <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>
      <f4>Close</f4>
      <f7>Close</f7>
    </keyboard>
  </PVROSDChannels>
  <TVChannels>
    <keyboard>
      <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>
    </keyboard>
  </TVChannels>
  <PVROSDGuide>
    <keyboard>
      <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>
    </keyboard>
  </PVROSDGuide>
  <TVGuide>
    <keyboard>
      <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>
    </keyboard>
  </TVGuide>
  <RadioChannels>
    <keyboard>
      <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>
    </keyboard>
  </RadioChannels>
  <FullscreenLiveTV>
    <keyboard>
      <return>OSD</return>
      <enter>OSD</enter>
    </keyboard>
  </FullscreenLiveTV>
  <FullscreenRadio>
    <keyboard>
      <return>OSD</return>
      <enter>OSD</enter>
    </keyboard>
  </FullscreenRadio>
  <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>
Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox