1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This file contains the mapping of mouse keys to actions within Kodi. -->
4 <!-- The format is: -->
7 <!-- <button>action</button> -->
11 <!-- The <global> section is a fall through - they will only be used if the button is -->
12 <!-- not used in the current window's section. -->
14 <!-- Actions can be built-in functions. -->
15 <!-- eg <middleclick>ActivateWindow(Music)</middleclick> -->
16 <!-- would automatically go to Music on the press of the middle mouse button. -->
19 <!-- An empty action removes the corresponding mapping from default and parent keymaps. -->
20 <!-- This is different from a "noop" action, which disables a button. -->
26 <!-- 3/4/5/6: extra -->
28 <!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps -->
32 <leftclick>leftclick</leftclick>
33 <rightclick>rightclick</rightclick>
34 <middleclick>middleclick</middleclick>
35 <doubleclick id="0">doubleclick</doubleclick>
36 <longclick id="0">contextmenu</longclick>
37 <longclick id="2">Menu</longclick> <!-- access to the blade menu via long right-click -->
38 <wheeldown>wheeldown</wheeldown>
39 <wheelup>wheelup</wheelup>
40 <mousedrag>mousedrag</mousedrag>
41 <mousedragend>mousedragend</mousedragend>
42 <mousemove>mousemove</mousemove>
47 <leftclick>Pause</leftclick>
48 <rightclick>PreviousMenu</rightclick>
49 <wheelup>PreviousPicture</wheelup>
50 <wheeldown>NextPicture</wheeldown>
55 <rightclick>Info</rightclick>
60 <rightclick>Info</rightclick>
63 <contextmenu> <!-- Give a way out of the context menu without actually having to select something. -->
65 <rightclick>back</rightclick>