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:46:40 +1030
commitdd0eeacc24a80893209f24d9ad028a6bc7e3a390 (patch)
tree27f1781cefb7869704425e039854b0759584034c /src/evdev.h
parentAdd support for run-time calibration. (diff)
downloadxf86-input-evdev-dd0eeacc24a80893209f24d9ad028a6bc7e3a390.tar.gz
xf86-input-evdev-dd0eeacc24a80893209f24d9ad028a6bc7e3a390.tar.bz2
xf86-input-evdev-dd0eeacc24a80893209f24d9ad028a6bc7e3a390.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> (cherry picked from commit 4826969f23a0b298da2750c2e23a92b9d91819dd)
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;