aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
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 /src/evdev.h
parentAdd support for run-time calibration. (diff)
downloadxf86-input-evdev-4826969f23a0b298da2750c2e23a92b9d91819dd.tar.gz
xf86-input-evdev-4826969f23a0b298da2750c2e23a92b9d91819dd.tar.bz2
xf86-input-evdev-4826969f23a0b298da2750c2e23a92b9d91819dd.zip
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 'src/evdev.h')
-rw-r--r--src/evdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.h b/src/evdev.h
index 5696978..32da81c 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -64,6 +64,7 @@ typedef struct {
int flags;
int tool;
int buttons; /* number of buttons */
+ BOOL swap_axes;
BOOL invert_x;
BOOL invert_y;