diff options
Diffstat (limited to 'system/keymaps/mouse.xml')
-rw-r--r-- | system/keymaps/mouse.xml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/system/keymaps/mouse.xml b/system/keymaps/mouse.xml new file mode 100644 index 0000000..3bb3f43 --- /dev/null +++ b/system/keymaps/mouse.xml @@ -0,0 +1,68 @@ +<?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> + <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> |