~hanno-stock/+junk/evdev-intrepid-backport

« back to all changes in this revision

Viewing changes to include/evdev-properties.h

Tags: ubuntu-1:2.1.0-0ubuntu1
* Merge from Debian experimental, remaining changes:
  - 100_dont_check_abi.patch: Don't check for XINPUT_VERSION >= 3, since
    our xserver & libXi has those bits backported.
  - Bump the build-dep on xserver-xorg-dev and x11proto-input-dev.
* Don't install the fdi file, hal in ubuntu already ships one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright © 2008 Red Hat, Inc.
 
3
 *
 
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
 
13
 * warranty.
 
14
 *
 
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.
 
22
 *
 
23
 * Authors:
 
24
 *      Peter Hutterer (peter.hutterer@redhat.com)
 
25
 */
 
26
 
 
27
 
 
28
#ifndef _EVDEV_PROPERTIES_H_
 
29
#define _EVDEV_PROPERTIES_H_
 
30
 
 
31
/* Middle mouse button emulation */
 
32
/* BOOL */
 
33
#define EVDEV_PROP_MIDBUTTON "Evdev Middle Button Emulation"
 
34
/* CARD32 */
 
35
#define EVDEV_PROP_MIDBUTTON_TIMEOUT "Evdev Middle Button Timeout"
 
36
 
 
37
/* Wheel emulation */
 
38
/* BOOL */
 
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"
 
42
/* CARD16 */
 
43
#define EVDEV_PROP_WHEEL_INERTIA "Evdev Wheel Emulation Inertia"
 
44
/* CARD16 */
 
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"
 
48
 
 
49
/* Drag lock */
 
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"
 
52
 
 
53
/* Axis inversion */
 
54
/* BOOL, 2 values [x, y], 1 inverts axis */
 
55
#define EVDEV_PROP_INVERT_AXES "Evdev Axis Inversion"
 
56
 
 
57
/* Reopen attempts. */
 
58
/* CARD8 */
 
59
#define EVDEV_PROP_REOPEN "Evdev Reopen Attempts"
 
60
 
 
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"
 
64
 
 
65
/* Swap x and y axis. */
 
66
/* BOOL */
 
67
#define EVDEV_PROP_SWAP_AXES "Evdev Axes Swap"
 
68
 
 
69
#endif