Alternative keymaps for mice: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "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. Cl...")
 
Line 8: Line 8:
: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>
 
    <mouse>
 
      <mousedrag>noop</mousedrag>
   </fullscreenvideo>
      <mousemove>noop</mousemove>
    </mouse>
  </FullScreenVideo>
  <VideoOSD>
    <mouse>
      <mousedrag>mousedrag</mousedrag>
      <mousemove>mousemove</mousemove>
    </mouse>
   </VideoOSD>
</keymap>
</keymap>
</syntaxhighlight>
</syntaxhighlight>

Revision as of 01:37, 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/
<keymap>


</keymap>