Alternative keymaps for most remotes: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 5: Line 5:


== Keymap 1 - SmallStepBack ==
== Keymap 1 - SmallStepBack ==
{{isengard note|For Kodi v15: replace <code>SmallStepBack</code> with <code>seek(-7)</code>.}}


:Cut and paste the following into a new text document and save as '''remote.xml''' and place in <code>[[userdata]]/keymaps/</code>
:Cut and paste the following into a new text document and save as '''remote.xml''' and place in <code>[[userdata]]/keymaps/</code>
Line 13: Line 12:
   <FullscreenVideo>
   <FullscreenVideo>
     <remote>
     <remote>
       <back>SmallStepBack</back>
       <back>seek(-7)</back>
     </remote>
     </remote>
     <keyboard>
     <keyboard>
       <back>SmallStepBack</back>
       <back>seek(-7)</back>
       <backspace>SmallStepBack</backspace>
       <backspace>seek(-7)</backspace>
       <escape>SmallStepBack</escape>
       <escape>seek(-7)</escape>
     </keyboard>
     </keyboard>
   </FullscreenVideo>
   </FullscreenVideo>

Revision as of 21:24, 9 December 2015

Home icon grey.png   ▶ Remote controls ▶ Alternative keymaps for most remotes

Alternative keymaps for most remotes, as suggested by the community. This includes MCE/RC6 type remote controls.

Keymap 1 - SmallStepBack

Cut and paste the following into a new text document and save as remote.xml and place in userdata/keymaps/
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <FullscreenVideo>
    <remote>
      <back>seek(-7)</back>
    </remote>
    <keyboard>
      <back>seek(-7)</back>
      <backspace>seek(-7)</backspace>
      <escape>seek(-7)</escape>
    </keyboard>
  </FullscreenVideo>
</keymap>


What it does
  • Back durning full screen playback is changed to SmallStepBack (-7 seconds)

Keymap 2 - stop a video when backing out of it

Cut and paste the following into a new text document and save as remote.xml and place in userdata/keymaps/
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <FullscreenVideo>
    <remote>
      <back>stop</back>
    </remote>
    <keyboard>
      <back>stop</back>
      <backspace>stop</backspace>
      <escape>stop</escape>
    </keyboard>
  </FullscreenVideo>
</keymap>


What it does
  • Back durning full screen playback will stop the video and return you to the file/library lists.

Keymap 3 - move cursor on keyboard instead of buttons

Note: As of Kodi v15, you can use Tab  to toggle between selecting keys on the on-screen-keyboard and moving the cursor.

Cut and paste the following into a new text document and save as remote.xml and place in userdata/keymaps/
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <virtualkeyboard>
    <keyboard>
      <left>CursorLeft</left>
      <right>CursorRight</right>
    </keyboard>
  </virtualkeyboard>
</keymap>


What it does
  • Left/right arrow keys will move the cursor when entering text with the on-screen-keyboard, rather than select different keyboard buttons. This restores the behavior previously seen when "Remote sends keyboard presses" was turned off.

HOW-TO:Use SMS-style text entry for remotes

See: HOW-TO:Use SMS-style text entry for remotes