2
* Copyright © 2008 Red Hat, Inc.
4
* Permission to use, copy, modify, distribute, and sell this software
5
* and its documentation for any purpose is hereby granted without
6
* fee, provided that the above copyright notice appear in all copies
7
* and that both that copyright notice and this permission notice
8
* appear in supporting documentation, and that the name of Red Hat
9
* not be used in advertising or publicity pertaining to distribution
10
* of the software without specific, written prior permission. Red
11
* Hat makes no representations about the suitability of this software
12
* for any purpose. It is provided "as is" without express or implied
15
* THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
16
* INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN
17
* NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
18
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
19
* OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
20
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
21
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
24
* Peter Hutterer (peter.hutterer@redhat.com)
28
#ifndef _EVDEV_PROPERTIES_H_
29
#define _EVDEV_PROPERTIES_H_
31
/* Middle mouse button emulation */
33
#define EVDEV_PROP_MIDBUTTON "Evdev Middle Button Emulation"
35
#define EVDEV_PROP_MIDBUTTON_TIMEOUT "Evdev Middle Button Timeout"
39
#define EVDEV_PROP_WHEEL "Evdev Wheel Emulation"
40
/* CARD8, 4 values [x up, x down, y up, y down], 0 to disable a value*/
41
#define EVDEV_PROP_WHEEL_AXES "Evdev Wheel Emulation Axes"
43
#define EVDEV_PROP_WHEEL_INERTIA "Evdev Wheel Emulation Inertia"
45
#define EVDEV_PROP_WHEEL_TIMEOUT "Evdev Wheel Emulation Timeout"
46
/* CARD8, value range 0-32, 0 to disable a value */
47
#define EVDEV_PROP_WHEEL_BUTTON "Evdev Wheel Emulation Button"
50
/* CARD8, either 1 value or pairs, value range 0-32, 0 to disable a value*/
51
#define EVDEV_PROP_DRAGLOCK "Evdev Drag Lock Buttons"
54
/* BOOL, 2 values [x, y], 1 inverts axis */
55
#define EVDEV_PROP_INVERT_AXES "Evdev Axis Inversion"
57
/* Reopen attempts. */
59
#define EVDEV_PROP_REOPEN "Evdev Reopen Attempts"
61
/* Run-time calibration */
62
/* CARD32, 4 values [minx, maxx, miny, maxy], or no values for unset */
63
#define EVDEV_PROP_CALIBRATION "Evdev Axis Calibration"
65
/* Swap x and y axis. */
67
#define EVDEV_PROP_SWAP_AXES "Evdev Axes Swap"