Alternative keymaps for mice: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
Line 15: Line 15:
       <mousedrag>noop</mousedrag>
       <mousedrag>noop</mousedrag>
       <mousemove>noop</mousemove>
       <mousemove>noop</mousemove>
      <wheeldown>VolumeDown</wheeldown>
      <wheelup>VolumeUp</wheelup>
     </mouse>
     </mouse>
   </FullScreenVideo>
   </FullScreenVideo>

Revision as of 01:52, 10 January 2016

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>
      <wheeldown>VolumeDown</wheeldown>
      <wheelup>VolumeUp</wheelup>
    </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/
<keymap>
  <global>
    <mouse>
      <mousedrag>noop</mousedrag>
      <mousemove>noop</mousemove>
    </mouse>
  </global>
</keymap>