diff options
author | Jason Gerecke <jason.gerecke@wacom.com> | 2022-01-07 10:52:57 -0800 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2022-01-08 16:09:35 +1000 |
commit | e4094a72fed413d43951b0dc113351c0d84516aa (patch) | |
tree | 2e5d0c582460288aaacffb627d2e0f48051a4515 | |
parent | a78392d8d6e9aa344c7d09f5b1330fc7aeb8ef96 (diff) | |
download | xf86-input-wacom-e4094a72fed413d43951b0dc113351c0d84516aa.tar.gz |
Report puck "throttle" (absolute scrollwheel) data in correct axis
The "throttle" / absolute scrollwheel found on devices like the 4D Mouse
should be reported in the v4 axis. A typo in a previous commit caused
it to stop being reported.
Fixes: 58a931bc21 ("Abstract the event interface to pass a struct with axis data around")
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
-rw-r--r-- | src/wcmCommon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmCommon.c b/src/wcmCommon.c index 87d8ecf..f0a2f86 100644 --- a/src/wcmCommon.c +++ b/src/wcmCommon.c @@ -884,7 +884,7 @@ void wcmSendEvents(WacomDevicePtr priv, const WacomDeviceState* ds) wcmAxisSet(&axes, WACOM_AXIS_ROTATION, ds->rotation); wcmAxisSet(&axes, WACOM_AXIS_THROTTLE, ds->throttle); v3 = ds->rotation; - v4 = ds->rotation; + v4 = ds->throttle; } else { wcmAxisSet(&axes, WACOM_AXIS_TILT_X, tx); |