diff options
-rw-r--r-- | src/wcmUSB.c | 4 | ||||
-rw-r--r-- | src/xf86WacomDefs.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/wcmUSB.c b/src/wcmUSB.c index 0b5ec57..2f96a8a 100644 --- a/src/wcmUSB.c +++ b/src/wcmUSB.c @@ -1454,6 +1454,10 @@ static void usbParseKeyEvent(WacomCommonPtr common, ds->buttons = mod_buttons(ds->buttons, 2, event->value); break; + case BTN_STYLUS3: + ds->buttons = mod_buttons(ds->buttons, 3, event->value); + break; + default: change = 0; } diff --git a/src/xf86WacomDefs.h b/src/xf86WacomDefs.h index ec34211..a772597 100644 --- a/src/xf86WacomDefs.h +++ b/src/xf86WacomDefs.h @@ -93,6 +93,12 @@ #define ABS_MT_SLOT 0x2f #endif +/* 4.15 */ + +#ifndef BTN_STYLUS3 +#define BTN_STYLUS3 0x149 +#endif + /****************************************************************************** * Forward Declarations *****************************************************************************/ |