/system/keymaps/mouse.xml
http://github.com/xbmc/xbmc · XML · 68 lines · 41 code · 0 blank · 27 comment · 0 complexity · 2059eff20a94d658c0914257ffe6e871 MD5 · raw file
- <?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>