summaryrefslogtreecommitdiff
path: root/src/gwacom/wacom-device.h
diff options
context:
space:
mode:
authorGreenscreener <honzikcernoh@gmail.com>2022-07-24 15:02:46 +0200
committerPeter Hutterer <peter.hutterer@who-t.net>2022-11-24 08:52:12 +1000
commitfe923e927a8ddf4d2e82ef4757c885b06d47fa03 (patch)
tree2ba9d5bdfe49550448fa902b08bbaed8c1553d99 /src/gwacom/wacom-device.h
parent2a9e5953f89a7085786326e07edcb53ad821aace (diff)
downloadxf86-input-wacom-fe923e927a8ddf4d2e82ef4757c885b06d47fa03.tar.gz
Implement smooth panscrolling
Diffstat (limited to 'src/gwacom/wacom-device.h')
-rw-r--r--src/gwacom/wacom-device.h5
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())