1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This file contains the mapping of touch gestures to actions within Kodi. -->
4 <!-- The format is: -->
7 <!-- <gesture>action</gesture> -->
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 <tap pointers="2">ActivateWindow(Music)</tap> -->
16 <!-- would automatically go to Music when two fingers tap the screen at once. -->
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. -->
22 <!-- More documentation on keymaps can be found on http://kodi.wiki/view/keymaps -->
27 <longpress>RightClick</longpress>
28 <tap pointers="2">RightClick</tap>
30 <swipe direction="left">SwipeLeft</swipe>
31 <swipe direction="left" pointers="2">Back</swipe>
32 <swipe direction="right">SwipeRight</swipe>
33 <swipe direction="right" pointers="2">Menu</swipe> <!-- Easier access to the side blade menu on touchscreens. -->
34 <swipe direction="up">SwipeUp</swipe>
35 <swipe direction="down">SwipeDown</swipe>
36 <swipe direction="up" pointers="3">SwitchPlayer</swipe>
37 <swipe direction="down" pointers="3">ActivateWindow(PlayerControls)</swipe>
43 <swipe direction="left">Highlight</swipe>
44 <swipe direction="right">Highlight</swipe>
49 <swipe direction="left">StepBack</swipe>
50 <swipe direction="right">StepForward</swipe>
51 <swipe direction="up">ChapterOrBigStepForward</swipe>
52 <swipe direction="down">ChapterOrBigStepBack</swipe>
53 <swipe direction="up" pointers="2">SkipNext</swipe>
54 <swipe direction="down" pointers="2">SkipPrevious</swipe>
55 <tap pointers="2">Playlist</tap>
56 <tap pointers="3">PlayPause</tap>
61 <swipe direction="left">StepBack</swipe>
62 <swipe direction="right">StepForward</swipe>
63 <swipe direction="left" pointers="2">Seek(-7)</swipe>
64 <tap pointers="3">PlayPause</tap>
69 <swipe direction="down" pointers="3">Back</swipe>
74 <swipe direction="left">StepBack</swipe>
75 <swipe direction="right">StepForward</swipe>
76 <swipe direction="up">SkipNext</swipe>
77 <swipe direction="down">SkipPrevious</swipe>
78 <swipe direction="up" pointers="2">SkipNext</swipe>
79 <swipe direction="down" pointers="2">SkipPrevious</swipe>
80 <tap pointers="2">Playlist</tap>
81 <tap pointers="3">PlayPause</tap>
86 <zoom>ZoomGesture</zoom>
87 <rotate>RotateGesture</rotate>
88 <swipe direction="right" pointers="2">PreviousPicture</swipe> <!-- right/left are flipped here to make picture flipping feel more natural on touch screens. Two pointers are used in order to avoid conflicting with the panning gesture on zoomed-in images. -->
89 <swipe direction="left" pointers="2">NextPicture</swipe>
90 <tap pointers="2">Pause</tap>
91 <tap pointers="3">Info</tap>
92 <longpress>Back</longpress>
97 <swipe direction="up">Up</swipe>
98 <swipe direction="down">Down</swipe>
99 <swipe direction="right">Right</swipe>
100 <swipe direction="left">Left</swipe>
101 <tap pointers="1">NextCalibration</tap>
106 <swipe direction="up" pointers="2">SkipNext</swipe>
107 <swipe direction="down" pointers="2">SkipPrevious</swipe>
112 <swipe direction="left" pointers="3">Back</swipe> <!-- backs out of "switch player" -->
113 <swipe direction="right" pointers="3">Back</swipe>
118 <tap pointers="3">Back</tap>
123 <swipe direction="up">Up</swipe>
124 <swipe direction="down">Down</swipe>
129 <swipe direction="up">ChannelUp</swipe>
130 <swipe direction="down">ChannelDown</swipe>