Last active
November 7, 2021 12:50
-
-
Save jjd-uk/8175be865414dd6324c53d573fa58598 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- This file contains the mapping of mouse keys to actions within Kodi. --> | |
<!-- --> | |
<!-- The format is: --> | |
<!-- <window> --> | |
<!-- <device> --> | |
<!-- <button>action</button> --> | |
<!-- </device> --> | |
<!-- </window> --> | |
<!-- --> | |
<!-- The <global> section is a fall through - they will only be used if the button is --> | |
<!-- not used in the current window's section. --> | |
<!-- --> | |
<!-- Actions can be built-in functions. --> | |
<!-- eg <middleclick>ActivateWindow(Music)</middleclick> --> | |
<!-- would automatically go to Music on the press of the middle mouse button. --> | |
<!-- --> | |
<!-- --> | |
<!-- An empty action removes the corresponding mapping from default and parent keymaps. --> | |
<!-- This is different from a "noop" action, which disables a button. --> | |
<!-- --> | |
<!-- Button Ids: --> | |
<!-- 0: left --> | |
<!-- 1: right --> | |
<!-- 2: middle --> | |
<!-- 3/4/5/6: extra --> | |
<!-- --> | |
<!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps --> | |
<keymap> | |
<global> | |
<mouse> | |
<leftclick>leftclick</leftclick> | |
<rightclick>rightclick</rightclick> | |
<middleclick>middleclick</middleclick> | |
<doubleclick id="0">doubleclick</doubleclick> | |
<longclick id="0">contextmenu</longclick> | |
<longclick id="2">Menu</longclick> <!-- access to the blade menu via long right-click --> | |
<wheeldown>wheeldown</wheeldown> | |
<wheelup>wheelup</wheelup> | |
<mousedrag>mousedrag</mousedrag> | |
<mousedragend>mousedragend</mousedragend> | |
<mousemove>mousemove</mousemove> | |
</mouse> | |
</global> | |
<SlideShow> | |
<mouse> | |
<leftclick>Pause</leftclick> | |
<rightclick>PreviousMenu</rightclick> | |
<wheelup>PreviousPicture</wheelup> | |
<wheeldown>NextPicture</wheeldown> | |
</mouse> | |
</SlideShow> | |
<FullscreenVideo> | |
<mouse> | |
<rightclick>Info</rightclick> | |
</mouse> | |
</FullscreenVideo> | |
<Visualisation> | |
<mouse> | |
<mousedrag>OSD</mousedrag> | |
<mousemove>OSD</mousemove> | |
<leftclick>OSD</leftclick> | |
<rightclick>Info</rightclick> | |
</mouse> | |
</Visualisation> | |
<FullscreenGame> | |
<mouse> | |
<rightclick>Info</rightclick> | |
</mouse> | |
</FullscreenGame> | |
<contextmenu> <!-- Give a way out of the context menu without actually having to select something. --> | |
<mouse> | |
<rightclick>back</rightclick> | |
</mouse> | |
</contextmenu> | |
</keymap> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment