From: Rene van Paassen Date: Mon, 21 May 2007 04:31:45 +0000 (-0400) Subject: Input: aiptek - fixed mouse button defines X-Git-Tag: v2.6.23-rc1~1185 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ce0982edaec2c46dc9ec466e03f1fe94ee0862d8;p=linux-2.6-omap-h63xx.git Input: aiptek - fixed mouse button defines Mouse button defines tested the wrong bits, now fixed Signed-off-by: Rene van Paassen Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c index 5aa8abf7ec8..147ed340e6e 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 */