Alternative keymaps for mice: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 10: Line 10:
:Cut and paste the following into a new text document and save as '''NoMouseMove.xml''' and place in <code>[[userdata]]/keymaps/</code>
:Cut and paste the following into a new text document and save as '''NoMouseMove.xml''' and place in <code>[[userdata]]/keymaps/</code>
<syntaxhighlight lang="xml" enclose="div">
<syntaxhighlight lang="xml" enclose="div">
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<keymap>
   <FullScreenVideo>
   <FullScreenVideo>

Revision as of 21:28, 28 July 2015

Alternative keymaps for mice and remotes with airmouse features, as suggested by the community.

Keymap 1

What it does
  • Disables mouse movement for fullscreen video.
  • Click anywhere to bring up the on-screen-controls, which will re-enable mouse movement.
  • Note: You can right-click to manually hide the on-screen-controls instead of waiting for it to disappear.
Keymap
Cut and paste the following into a new text document and save as NoMouseMove.xml and place in userdata/keymaps/
<keymap>
  <FullScreenVideo>
    <mouse>
      <mousedrag>noop</mousedrag>
      <mousemove>noop</mousemove>
    </mouse>
  </FullScreenVideo>
  <VideoMenu>
    <mouse>
      <mousedrag>mousedrag</mousedrag>
      <mousemove>mousemove</mousemove>
    </mouse>
  </VideoMenu>
  <VideoOSD>
    <mouse>
      <mousedrag>mousedrag</mousedrag>
      <mousemove>mousemove</mousemove>
    </mouse>
  </VideoOSD>
</keymap>

Keymap 2

What it does
  • Completely disables mouse movement.
Keymap
Cut and paste the following into a new text document and save as NoMouseMove.xml and place in userdata/keymaps/
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <global>
    <mouse>
      <mousedrag>noop</mousedrag>
      <mousemove>noop</mousemove>
    </mouse>
  </global>
</keymap>