summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-05-05 10:11:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-05-10 09:52:04 +1000
commit09567517939109cbaf9928a36e43e86bd1d71082 (patch)
tree0e6b881db5120feb0c6611bcbfd9baf6b1277eff
parenta94a845af196f49fdcece8958dc1320c0296b518 (diff)
downloadxf86-input-wacom-09567517939109cbaf9928a36e43e86bd1d71082.tar.gz
Document the rotation/wheel axes, they're not what you'd expect
For historical reasons, the rotation axis is actually the cursor rotation only, the artpen rotation is mixed in with the airbrush wheel (which is scaled in to the rotation range). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Aaron Skomra <aaron.skomra@wacom.com>
-rw-r--r--src/WacomInterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WacomInterface.h b/src/WacomInterface.h
index 153cf31..55cde08 100644
--- a/src/WacomInterface.h
+++ b/src/WacomInterface.h
@@ -58,9 +58,9 @@ enum WacomAxisType {
WACOM_AXIS_TILT_Y = (1 << 4),
WACOM_AXIS_STRIP_X = (1 << 5),
WACOM_AXIS_STRIP_Y = (1 << 6),
- WACOM_AXIS_ROTATION = (1 << 7),
+ WACOM_AXIS_ROTATION = (1 << 7), /* Cursor rotation only */
WACOM_AXIS_THROTTLE = (1 << 8),
- WACOM_AXIS_WHEEL = (1 << 9),
+ WACOM_AXIS_WHEEL = (1 << 9), /* Artpen rotation or airbrush wheel */
WACOM_AXIS_RING = (1 << 10),
WACOM_AXIS_RING2 = (1 << 11),