aboutsummaryrefslogtreecommitdiff
path: root/system/keymaps/touchscreen.xml
blob: 4d16457c2a8854fc133616f862640a65482885f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="UTF-8"?>
<keymap>
  <global>
    <touch>
      <tap>LeftClick</tap>
      <longpress>RightClick</longpress>
      <tap pointers="2">RightClick</tap>
      <pan>PanGesture</pan>
      <swipe direction="left">SwipeLeft</swipe>
      <swipe direction="left" pointers="2">Back</swipe>
      <swipe direction="right">SwipeRight</swipe>
      <swipe direction="up">SwipeUp</swipe>
      <swipe direction="down">SwipeDown</swipe>
      <swipe direction="up" pointers="3">SwitchPlayer</swipe>
      <swipe direction="down" pointers="3">ActivateWindow(PlayerControls)</swipe>
    </touch>
  </global>
  <MyFiles>
    <touch>
      <tap>Select</tap>
      <swipe direction="left">Highlight</swipe>
      <swipe direction="right">Highlight</swipe>
    </touch>
  </MyFiles>
  <FullScreenVideo>
    <touch>
      <swipe direction="left">StepBack</swipe>
      <swipe direction="right">StepForward</swipe>
      <swipe direction="up">ChapterOrBigStepForward</swipe>
      <swipe direction="down">ChapterOrBigStepBack</swipe>
      <swipe direction="left" pointers="2">Seek(-7)</swipe>
      <swipe direction="up" pointers="2">SkipNext</swipe>
      <swipe direction="down" pointers="2">SkipPrevious</swipe>
      <tap pointers="2">Playlist</tap>
      <tap pointers="3">PlayPause</tap>
    </touch>
  </FullScreenVideo>
  <PlayerControls>
    <touch>
      <swipe direction="down" pointers="3">Back</swipe>
    </touch>
  </PlayerControls>
  <Visualisation>
    <touch>
      <swipe direction="left">StepBack</swipe>
      <swipe direction="right">StepForward</swipe>
      <swipe direction="up">SkipNext</swipe>
      <swipe direction="down">SkipPrevious</swipe>
      <swipe direction="up" pointers="2">SkipNext</swipe>
      <swipe direction="down" pointers="2">SkipPrevious</swipe>
      <tap pointers="2">Playlist</tap>
      <tap pointers="3">PlayPause</tap>
    </touch>
  </Visualisation>
  <SlideShow>
    <touch>
      <zoom>ZoomGesture</zoom>
      <rotate>RotateGesture</rotate>
      <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. -->
      <swipe direction="left" pointers="2">NextPicture</swipe>
      <tap pointers="2">Pause</tap>
      <tap pointers="3">Info</tap>
    </touch>
  </SlideShow>
  <ScreenCalibration>
    <touch>
      <swipe direction="up">Up</swipe>
      <swipe direction="down">Down</swipe>
      <swipe direction="right">Right</swipe>
      <swipe direction="left">Left</swipe>
      <tap pointers="1">NextCalibration</tap>
    </touch>
  </ScreenCalibration>
  <VideoMenu>
    <touch>
      <swipe direction="up" pointers="2">SkipNext</swipe>
      <swipe direction="down" pointers="2">SkipPrevious</swipe>
    </touch>
  </VideoMenu>
  <ContextMenu>
    <touch>
      <swipe direction="left" pointers="3">Back</swipe> <!-- backs out of "switch player" -->
      <swipe direction="right" pointers="3">Back</swipe>
    </touch>
  </ContextMenu>
  <PictureInfo>
    <touch>
      <tap pointers="3">Back</tap>
    </touch>
  </PictureInfo>
  <FullScreenLiveTV>
    <touch>
      <swipe direction="up">Up</swipe>
      <swipe direction="down">Down</swipe>
    </touch>
  </FullScreenLiveTV>
  <FullScreenRadio>
    <touch>
      <swipe direction="up">ChannelUp</swipe>
      <swipe direction="down">ChannelDown</swipe>
    </touch>
  </FullScreenRadio>
</keymap>