VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.9.0/xserver-properties.h@ 32915

Last change on this file since 32915 was 32163, checked in by vboxsync, 14 years ago

Additions/x11/x11include: additional headers for building drivers for X.Org Server 1.9

  • Property svn:eol-style set to native
File size: 8.7 KB
Line 
1/*
2 * Copyright 2008 Red Hat, Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software")
6 * to deal in the software without restriction, including without limitation
7 * on the rights to use, copy, modify, merge, publish, distribute, sub
8 * license, and/or sell copies of the Software, and to permit persons to whom
9 * them Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
13 * Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTIBILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER
19 * IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 */
22
23
24/* Properties managed by the server. */
25
26#ifndef _XSERVER_PROPERTIES_H_
27#define _XSERVER_PROPERTIES_H_
28
29/* Type for a 4 byte float. Storage format IEEE 754 in client's default
30 * byte-ordering. */
31#define XATOM_FLOAT "FLOAT"
32
33/* BOOL. 0 - device disabled, 1 - device enabled */
34#define XI_PROP_ENABLED "Device Enabled"
35/* BOOL. If present, device is a virtual XTEST device */
36#define XI_PROP_XTEST_DEVICE "XTEST Device"
37
38/* Coordinate transformation matrix for absolute input devices
39 * FLOAT, 9 values in row-major order, coordinates in 0..1 range:
40 * [c0 c1 c2] [x]
41 * [c3 c4 c5] * [y]
42 * [c6 c7 c8] [1] */
43#define XI_PROP_TRANSFORM "Coordinate Transformation Matrix"
44
45/* Pointer acceleration properties */
46/* INTEGER of any format */
47#define ACCEL_PROP_PROFILE_NUMBER "Device Accel Profile"
48/* FLOAT, format 32 */
49#define ACCEL_PROP_CONSTANT_DECELERATION "Device Accel Constant Deceleration"
50/* FLOAT, format 32 */
51#define ACCEL_PROP_ADAPTIVE_DECELERATION "Device Accel Adaptive Deceleration"
52/* FLOAT, format 32 */
53#define ACCEL_PROP_VELOCITY_SCALING "Device Accel Velocity Scaling"
54
55
56/* Axis labels */
57#define AXIS_LABEL_PROP "Axis Labels"
58
59#define AXIS_LABEL_PROP_REL_X "Rel X"
60#define AXIS_LABEL_PROP_REL_Y "Rel Y"
61#define AXIS_LABEL_PROP_REL_Z "Rel Z"
62#define AXIS_LABEL_PROP_REL_RX "Rel Rotary X"
63#define AXIS_LABEL_PROP_REL_RY "Rel Rotary Y"
64#define AXIS_LABEL_PROP_REL_RZ "Rel Rotary Z"
65#define AXIS_LABEL_PROP_REL_HWHEEL "Rel Horiz Wheel"
66#define AXIS_LABEL_PROP_REL_DIAL "Rel Dial"
67#define AXIS_LABEL_PROP_REL_WHEEL "Rel Vert Wheel"
68#define AXIS_LABEL_PROP_REL_MISC "Rel Misc"
69
70/*
71 * Absolute axes
72 */
73
74#define AXIS_LABEL_PROP_ABS_X "Abs X"
75#define AXIS_LABEL_PROP_ABS_Y "Abs Y"
76#define AXIS_LABEL_PROP_ABS_Z "Abs Z"
77#define AXIS_LABEL_PROP_ABS_RX "Abs Rotary X"
78#define AXIS_LABEL_PROP_ABS_RY "Abs Rotary Y"
79#define AXIS_LABEL_PROP_ABS_RZ "Abs Rotary Z"
80#define AXIS_LABEL_PROP_ABS_THROTTLE "Abs Throttle"
81#define AXIS_LABEL_PROP_ABS_RUDDER "Abs Rudder"
82#define AXIS_LABEL_PROP_ABS_WHEEL "Abs Wheel"
83#define AXIS_LABEL_PROP_ABS_GAS "Abs Gas"
84#define AXIS_LABEL_PROP_ABS_BRAKE "Abs Brake"
85#define AXIS_LABEL_PROP_ABS_HAT0X "Abs Hat 0 X"
86#define AXIS_LABEL_PROP_ABS_HAT0Y "Abs Hat 0 Y"
87#define AXIS_LABEL_PROP_ABS_HAT1X "Abs Hat 1 X"
88#define AXIS_LABEL_PROP_ABS_HAT1Y "Abs Hat 1 Y"
89#define AXIS_LABEL_PROP_ABS_HAT2X "Abs Hat 2 X"
90#define AXIS_LABEL_PROP_ABS_HAT2Y "Abs Hat 2 Y"
91#define AXIS_LABEL_PROP_ABS_HAT3X "Abs Hat 3 X"
92#define AXIS_LABEL_PROP_ABS_HAT3Y "Abs Hat 3 Y"
93#define AXIS_LABEL_PROP_ABS_PRESSURE "Abs Pressure"
94#define AXIS_LABEL_PROP_ABS_DISTANCE "Abs Distance"
95#define AXIS_LABEL_PROP_ABS_TILT_X "Abs Tilt X"
96#define AXIS_LABEL_PROP_ABS_TILT_Y "Abs Tilt Y"
97#define AXIS_LABEL_PROP_ABS_TOOL_WIDTH "Abs Tool Width"
98#define AXIS_LABEL_PROP_ABS_VOLUME "Abs Volume"
99#define AXIS_LABEL_PROP_ABS_MT_TOUCH_MAJOR "Abs MT Touch Major"
100#define AXIS_LABEL_PROP_ABS_MT_TOUCH_MINOR "Abs MT Touch Minor"
101#define AXIS_LABEL_PROP_ABS_MT_WIDTH_MAJOR "Abs MT Width Major"
102#define AXIS_LABEL_PROP_ABS_MT_WIDTH_MINOR "Abs MT Width Minor"
103#define AXIS_LABEL_PROP_ABS_MT_ORIENTATION "Abs MT Orientation"
104#define AXIS_LABEL_PROP_ABS_MT_POSITION_X "Abs MT Position X"
105#define AXIS_LABEL_PROP_ABS_MT_POSITION_Y "Abs MT Position Y"
106#define AXIS_LABEL_PROP_ABS_MT_TOOL_TYPE "Abs MT Tool Type"
107#define AXIS_LABEL_PROP_ABS_MT_BLOB_ID "Abs MT Blob ID"
108#define AXIS_LABEL_PROP_ABS_MT_TRACKING_ID "Abs MT Tracking ID"
109#define AXIS_LABEL_PROP_ABS_MT_PRESSURE "Abs MT Pressure"
110#define AXIS_LABEL_PROP_ABS_MISC "Abs Misc"
111
112/* Button names */
113#define BTN_LABEL_PROP "Button Labels"
114
115/* Default label */
116#define BTN_LABEL_PROP_BTN_UNKNOWN "Button Unknown"
117/* Wheel buttons */
118#define BTN_LABEL_PROP_BTN_WHEEL_UP "Button Wheel Up"
119#define BTN_LABEL_PROP_BTN_WHEEL_DOWN "Button Wheel Down"
120#define BTN_LABEL_PROP_BTN_HWHEEL_LEFT "Button Horiz Wheel Left"
121#define BTN_LABEL_PROP_BTN_HWHEEL_RIGHT "Button Horiz Wheel Right"
122
123/* The following are from linux/input.h */
124#define BTN_LABEL_PROP_BTN_0 "Button 0"
125#define BTN_LABEL_PROP_BTN_1 "Button 1"
126#define BTN_LABEL_PROP_BTN_2 "Button 2"
127#define BTN_LABEL_PROP_BTN_3 "Button 3"
128#define BTN_LABEL_PROP_BTN_4 "Button 4"
129#define BTN_LABEL_PROP_BTN_5 "Button 5"
130#define BTN_LABEL_PROP_BTN_6 "Button 6"
131#define BTN_LABEL_PROP_BTN_7 "Button 7"
132#define BTN_LABEL_PROP_BTN_8 "Button 8"
133#define BTN_LABEL_PROP_BTN_9 "Button 9"
134
135#define BTN_LABEL_PROP_BTN_LEFT "Button Left"
136#define BTN_LABEL_PROP_BTN_RIGHT "Button Right"
137#define BTN_LABEL_PROP_BTN_MIDDLE "Button Middle"
138#define BTN_LABEL_PROP_BTN_SIDE "Button Side"
139#define BTN_LABEL_PROP_BTN_EXTRA "Button Extra"
140#define BTN_LABEL_PROP_BTN_FORWARD "Button Forward"
141#define BTN_LABEL_PROP_BTN_BACK "Button Back"
142#define BTN_LABEL_PROP_BTN_TASK "Button Task"
143
144#define BTN_LABEL_PROP_BTN_TRIGGER "Button Trigger"
145#define BTN_LABEL_PROP_BTN_THUMB "Button Thumb"
146#define BTN_LABEL_PROP_BTN_THUMB2 "Button Thumb2"
147#define BTN_LABEL_PROP_BTN_TOP "Button Top"
148#define BTN_LABEL_PROP_BTN_TOP2 "Button Top2"
149#define BTN_LABEL_PROP_BTN_PINKIE "Button Pinkie"
150#define BTN_LABEL_PROP_BTN_BASE "Button Base"
151#define BTN_LABEL_PROP_BTN_BASE2 "Button Base2"
152#define BTN_LABEL_PROP_BTN_BASE3 "Button Base3"
153#define BTN_LABEL_PROP_BTN_BASE4 "Button Base4"
154#define BTN_LABEL_PROP_BTN_BASE5 "Button Base5"
155#define BTN_LABEL_PROP_BTN_BASE6 "Button Base6"
156#define BTN_LABEL_PROP_BTN_DEAD "Button Dead"
157
158#define BTN_LABEL_PROP_BTN_A "Button A"
159#define BTN_LABEL_PROP_BTN_B "Button B"
160#define BTN_LABEL_PROP_BTN_C "Button C"
161#define BTN_LABEL_PROP_BTN_X "Button X"
162#define BTN_LABEL_PROP_BTN_Y "Button Y"
163#define BTN_LABEL_PROP_BTN_Z "Button Z"
164#define BTN_LABEL_PROP_BTN_TL "Button T Left"
165#define BTN_LABEL_PROP_BTN_TR "Button T Right"
166#define BTN_LABEL_PROP_BTN_TL2 "Button T Left2"
167#define BTN_LABEL_PROP_BTN_TR2 "Button T Right2"
168#define BTN_LABEL_PROP_BTN_SELECT "Button Select"
169#define BTN_LABEL_PROP_BTN_START "Button Start"
170#define BTN_LABEL_PROP_BTN_MODE "Button Mode"
171#define BTN_LABEL_PROP_BTN_THUMBL "Button Thumb Left"
172#define BTN_LABEL_PROP_BTN_THUMBR "Button Thumb Right"
173
174#define BTN_LABEL_PROP_BTN_TOOL_PEN "Button Tool Pen"
175#define BTN_LABEL_PROP_BTN_TOOL_RUBBER "Button Tool Rubber"
176#define BTN_LABEL_PROP_BTN_TOOL_BRUSH "Button Tool Brush"
177#define BTN_LABEL_PROP_BTN_TOOL_PENCIL "Button Tool Pencil"
178#define BTN_LABEL_PROP_BTN_TOOL_AIRBRUSH "Button Tool Airbrush"
179#define BTN_LABEL_PROP_BTN_TOOL_FINGER "Button Tool Finger"
180#define BTN_LABEL_PROP_BTN_TOOL_MOUSE "Button Tool Mouse"
181#define BTN_LABEL_PROP_BTN_TOOL_LENS "Button Tool Lens"
182#define BTN_LABEL_PROP_BTN_TOUCH "Button Touch"
183#define BTN_LABEL_PROP_BTN_STYLUS "Button Stylus"
184#define BTN_LABEL_PROP_BTN_STYLUS2 "Button Stylus2"
185#define BTN_LABEL_PROP_BTN_TOOL_DOUBLETAP "Button Tool Doubletap"
186#define BTN_LABEL_PROP_BTN_TOOL_TRIPLETAP "Button Tool Tripletap"
187
188#define BTN_LABEL_PROP_BTN_GEAR_DOWN "Button Gear down"
189#define BTN_LABEL_PROP_BTN_GEAR_UP "Button Gear up"
190
191#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette