aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2013-01-31 21:45:14 +0100
committermontellese <montellese@xbmc.org>2013-03-05 17:51:51 +0100
commit50d25a5e77d321481aa338f5f02dddb3c4d4688e (patch)
treed85d19f4aaf37273f57a14b5eb58537903b1b7d4 /system
parente6d8e60543f8856173c0f4bf1ea493e165322a9f (diff)
input: implement touch input through mappable actions
Diffstat (limited to 'system')
-rw-r--r--system/keymaps/touchscreen.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/system/keymaps/touchscreen.xml b/system/keymaps/touchscreen.xml
new file mode 100644
index 0000000000..fbd934c6b0
--- /dev/null
+++ b/system/keymaps/touchscreen.xml
@@ -0,0 +1,16 @@
+<keymap>
+ <global>
+ <touch>
+ <tap>LeftClick</tap>
+ <longpress>RightClick</longpress>
+ <tap pointers="2">RightClick</tap>
+ <pan>PanGesture</pan>
+ </touch>
+ </global>
+ <SlideShow>
+ <touch>
+ <zoom>ZoomGesture</zoom>
+ <rotate>RotateGesture</rotate>
+ </touch>
+ </SlideShow>
+</keymap>