Alternative keymaps for mice: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 32: Line 32:
: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>
 
  <global>
 
    <mouse>
      <mousedrag>noop</mousedrag>
      <mousemove>noop</mousemove>
    </mouse>
  </global>
</keymap>
</keymap>
</syntaxhighlight>
</syntaxhighlight>


[[Category:Custom keymaps|Mice]]
[[Category:Custom keymaps|Mice]]

Revision as of 01:39, 28 May 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.
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>
  <FullScreenVideo>
    <mouse>
      <mousedrag>noop</mousedrag>
      <mousemove>noop</mousemove>
    </mouse>
  </FullScreenVideo>
  <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>