aboutsummaryrefslogtreecommitdiff
path: root/system/keymaps
diff options
context:
space:
mode:
authorChris "Koying" Browet <cbro@semperpax.com>2014-08-05 12:13:55 +0200
committerChris "Koying" Browet <cbro@semperpax.com>2014-08-06 14:00:36 +0200
commit114b8c28a6a53d124a09e179ccc596459130dbef (patch)
tree68175302b3f6556364ea72a1ac9045cd5fd925ce /system/keymaps
parentdec28c00f12cef8c203e16c314db8ae0d9cc08ef (diff)
ADD: [mouse] support long click + full click/double/long support for 5 buttons
Diffstat (limited to 'system/keymaps')
-rw-r--r--system/keymaps/mouse.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/system/keymaps/mouse.xml b/system/keymaps/mouse.xml
index 9fd4148d86..ea7a993cbd 100644
--- a/system/keymaps/mouse.xml
+++ b/system/keymaps/mouse.xml
@@ -1,11 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- Button Ids: -->
+<!-- 0: left -->
+<!-- 1: right -->
+<!-- 2: middle -->
+<!-- 3/4: extra -->
+
<keymap>
<global>
<mouse>
<leftclick>leftclick</leftclick>
- <middleclick>middleclick</middleclick>
<rightclick>rightclick</rightclick>
- <doubleclick>doubleclick</doubleclick>
+ <middleclick>middleclick</middleclick>
+ <doubleclick id="0">doubleclick</doubleclick>
+ <longclick id="0">contextmenu</longclick>
+
<wheeldown>wheeldown</wheeldown>
<wheelup>wheelup</wheelup>
<mousedrag>mousedrag</mousedrag>