summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-11-03 13:25:06 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-11-03 13:32:41 +1030
commit4826969f23a0b298da2750c2e23a92b9d91819dd (patch)
treeac599c915ab1648acf2092bca2a74b3eccaff658 /include
parent33eb36f26663c09c873acede1b35e91ef4c64479 (diff)
Add support for axes swapping.
New option: SwapAxes (boolean) New property: EVDEV_PROP_SWAP_AXES. Actual swapping code written by Donnie Berkholz. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/evdev-properties.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/evdev-properties.h b/include/evdev-properties.h
index be4307b..31f6c66 100644
--- a/include/evdev-properties.h
+++ b/include/evdev-properties.h
@@ -62,4 +62,8 @@
/* CARD32, 4 values [minx, maxx, miny, maxy], or no values for unset */
#define EVDEV_PROP_CALIBRATION "Evdev Axis Calibration"
+/* Swap x and y axis. */
+/* BOOL */
+#define EVDEV_PROP_SWAP_AXES "Evdev Axes Swap"
+
#endif