From 4826969f23a0b298da2750c2e23a92b9d91819dd Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 3 Nov 2008 13:25:06 +1030 Subject: 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 --- include/evdev-properties.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit v1.2.3