Alternative keymaps for most remotes: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:
__TOC__
__TOC__


== Keymap 1 ==
== Keymap 1 - SmallStepBack ==
: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>
<syntaxhighlight lang="xml" enclose="div">
<syntaxhighlight lang="xml" enclose="div">
Line 25: Line 25:
* {{button|Back}} durning full screen playback is changed to SmallStepBack (-7 seconds)
* {{button|Back}} durning full screen playback is changed to SmallStepBack (-7 seconds)


== Keymap 2 ==
== 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 <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>
<syntaxhighlight lang="xml" enclose="div">
<syntaxhighlight lang="xml" enclose="div">
Line 45: Line 45:
=== What it does ===
=== What it does ===
* {{button|Back}} durning full screen playback will stop the video and return you to the file/library lists.
* {{button|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 ==
:Cut and paste the following into a new text document and save as '''remote.xml''' and place in <code>[[userdata]]/keymaps/</code>
<syntaxhighlight lang="xml" enclose="div">
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <virtualkeyboard>
    <keyboard>
      <left>CursorLeft</left>
      <right>CursorRight</right>
    </keyboard>
  </virtualkeyboard>
</keymap>
</syntaxhighlight>
=== 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.


[[Category:Custom keymaps]]
[[Category:Custom keymaps]]

Revision as of 06:17, 23 February 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>SmallStepBack</back>
    </remote>
    <keyboard>
      <back>SmallStepBack</back>
      <backspace>SmallStepBack</backspace>
      <escape>SmallStepBack</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

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.