summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/aiptek.c
diff options
context:
space:
mode:
authorRene van Paassen <rene.vanpaassen@gmail.com>2007-05-21 06:31:45 +0200
committerDmitry Torokhov <dtor@insightbb.com>2007-07-10 06:35:16 +0200
commitce0982edaec2c46dc9ec466e03f1fe94ee0862d8 (patch)
tree399153de6cf158acc5c8b75e8431d923b4e80736 /drivers/input/tablet/aiptek.c
parentInput: aiptek - correct the proximity and validity checks (diff)
downloadlinux-ce0982edaec2c46dc9ec466e03f1fe94ee0862d8.tar.xz
linux-ce0982edaec2c46dc9ec466e03f1fe94ee0862d8.zip
Input: aiptek - fixed mouse button defines
Mouse button defines tested the wrong bits, now fixed Signed-off-by: Rene van Paassen <rene.vanpaassen@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/aiptek.c')
-rw-r--r--drivers/input/tablet/aiptek.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c
index 5aa8abf7ec85..147ed340e6e1 100644
--- a/drivers/input/tablet/aiptek.c
+++ b/drivers/input/tablet/aiptek.c
@@ -264,9 +264,9 @@
/* Mouse button programming
*/
-#define AIPTEK_MOUSE_LEFT_BUTTON 0x01
-#define AIPTEK_MOUSE_RIGHT_BUTTON 0x02
-#define AIPTEK_MOUSE_MIDDLE_BUTTON 0x04
+#define AIPTEK_MOUSE_LEFT_BUTTON 0x04
+#define AIPTEK_MOUSE_RIGHT_BUTTON 0x08
+#define AIPTEK_MOUSE_MIDDLE_BUTTON 0x10
/* Stylus button programming
*/