diff options
author | Rene van Paassen <rene.vanpaassen@gmail.com> | 2007-05-21 00:31:45 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-10 00:35:16 -0400 |
commit | ce0982edaec2c46dc9ec466e03f1fe94ee0862d8 (patch) | |
tree | 399153de6cf158acc5c8b75e8431d923b4e80736 | |
parent | fe981f2340edffcb6aad2203d8f14c9bef0e67e3 (diff) |
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>
-rw-r--r-- | drivers/input/tablet/aiptek.c | 6 |
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 @@ | |||
264 | 264 | ||
265 | /* Mouse button programming | 265 | /* Mouse button programming |
266 | */ | 266 | */ |
267 | #define AIPTEK_MOUSE_LEFT_BUTTON 0x01 | 267 | #define AIPTEK_MOUSE_LEFT_BUTTON 0x04 |
268 | #define AIPTEK_MOUSE_RIGHT_BUTTON 0x02 | 268 | #define AIPTEK_MOUSE_RIGHT_BUTTON 0x08 |
269 | #define AIPTEK_MOUSE_MIDDLE_BUTTON 0x04 | 269 | #define AIPTEK_MOUSE_MIDDLE_BUTTON 0x10 |
270 | 270 | ||
271 | /* Stylus button programming | 271 | /* Stylus button programming |
272 | */ | 272 | */ |