Alternative keymaps for mice: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 4: Line 4:
;What it does
;What it does
*Disables mouse movement for fullscreen video. Click anywhere to bring up the on-screen-controls, which will re-enable mouse movement.
*Disables mouse movement for fullscreen video. Click anywhere to bring up the on-screen-controls, which will re-enable mouse movement.
*{{note|Remember, you can right-click to manually hide the on-screen-controls instead of waiting for it to disappear.}}


;Keymap
;Keymap

Revision as of 01:42, 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.
  • Note: Remember, 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/
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <FullScreenVideo>
    <mouse>
      <mousedrag>noop</mousedrag>
      <mousemove>noop</mousemove>
    </mouse>
  </FullScreenVideo>

  <VideoMenu> <!-- Delete this section if you want to disable movement for DVD menus as well -->
    <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>