summaryrefslogtreecommitdiff
path: root/src/hwdata.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-04-11 14:15:09 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-04-15 06:10:08 +0200
commite5bff8354652f5798d1906004150790377abc775 (patch)
treeec6a47494392169e968ae46835938157c0bcc4f6 /src/hwdata.h
parent4846c7cefc0a03ac69576ccebdb8e16055c57461 (diff)
Define swipe buttons
Define four additional buttons to be used for swiping gestures. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'src/hwdata.h')
-rw-r--r--src/hwdata.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hwdata.h b/src/hwdata.h
index c00fb39..81d847b 100644
--- a/src/hwdata.h
+++ b/src/hwdata.h
@@ -24,7 +24,7 @@
24 24
25#include "common.h" 25#include "common.h"
26 26
27#define DIM_BUTTON 7 27#define DIM_BUTTON 11
28 28
29#define MT_BUTTON_LEFT 0 29#define MT_BUTTON_LEFT 0
30#define MT_BUTTON_MIDDLE 1 30#define MT_BUTTON_MIDDLE 1
@@ -33,6 +33,10 @@
33#define MT_BUTTON_WHEEL_DOWN 4 33#define MT_BUTTON_WHEEL_DOWN 4
34#define MT_BUTTON_HWHEEL_LEFT 5 34#define MT_BUTTON_HWHEEL_LEFT 5
35#define MT_BUTTON_HWHEEL_RIGHT 6 35#define MT_BUTTON_HWHEEL_RIGHT 6
36#define MT_BUTTON_SWIPE_UP 7
37#define MT_BUTTON_SWIPE_DOWN 8
38#define MT_BUTTON_SWIPE_LEFT 9
39#define MT_BUTTON_SWIPE_RIGHT 10
36 40
37#define BIT_MT_TOUCH_MAJOR 0 41#define BIT_MT_TOUCH_MAJOR 0
38#define BIT_MT_TOUCH_MINOR 1 42#define BIT_MT_TOUCH_MINOR 1