diff options
Diffstat (limited to 'src/gwacom/wacom-device.h')
-rw-r--r-- | src/gwacom/wacom-device.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gwacom/wacom-device.h b/src/gwacom/wacom-device.h index 546fd9f..659ed5e 100644 --- a/src/gwacom/wacom-device.h +++ b/src/gwacom/wacom-device.h @@ -108,8 +108,10 @@ typedef enum { WAXIS_WHEEL = (1 << 9), WAXIS_RING = (1 << 10), WAXIS_RING2 = (1 << 11), + WAXIS_SCROLL_X = (1 << 12), + WAXIS_SCROLL_Y = (1 << 13), - _WAXIS_LAST = WAXIS_RING2, + _WAXIS_LAST = WAXIS_SCROLL_Y, } WacomEventAxis; /* The pointer argument to all the event signals. If the mask is set for @@ -124,6 +126,7 @@ typedef struct { int throttle; int wheel; int ring, ring2; + int scroll_x, scroll_y; } WacomEventData; #define WACOM_TYPE_EVENT_DATA (wacom_event_data_get_type()) |