VirtualBox

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

Last change on this file since 64670 was 28062, checked in by vboxsync, 15 years ago

Additions/x11/x11include: header files for building X.Org server 1.8 drivers

  • Property svn:eol-style set to native
File size: 8.4 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/* Pointer acceleration properties */
39/* INTEGER of any format */
40#define ACCEL_PROP_PROFILE_NUMBER "Device Accel Profile"
41/* FLOAT, format 32 */
42#define ACCEL_PROP_CONSTANT_DECELERATION "Device Accel Constant Deceleration"
43/* FLOAT, format 32 */
44#define ACCEL_PROP_ADAPTIVE_DECELERATION "Device Accel Adaptive Deceleration"
45/* FLOAT, format 32 */
46#define ACCEL_PROP_VELOCITY_SCALING "Device Accel Velocity Scaling"
47
48
49/* Axis labels */
50#define AXIS_LABEL_PROP "Axis Labels"
51
52#define AXIS_LABEL_PROP_REL_X "Rel X"
53#define AXIS_LABEL_PROP_REL_Y "Rel Y"
54#define AXIS_LABEL_PROP_REL_Z "Rel Z"
55#define AXIS_LABEL_PROP_REL_RX "Rel Rotary X"
56#define AXIS_LABEL_PROP_REL_RY "Rel Rotary Y"
57#define AXIS_LABEL_PROP_REL_RZ "Rel Rotary Z"
58#define AXIS_LABEL_PROP_REL_HWHEEL "Rel Horiz Wheel"
59#define AXIS_LABEL_PROP_REL_DIAL "Rel Dial"
60#define AXIS_LABEL_PROP_REL_WHEEL "Rel Vert Wheel"
61#define AXIS_LABEL_PROP_REL_MISC "Rel Misc"
62
63/*
64 * Absolute axes
65 */
66
67#define AXIS_LABEL_PROP_ABS_X "Abs X"
68#define AXIS_LABEL_PROP_ABS_Y "Abs Y"
69#define AXIS_LABEL_PROP_ABS_Z "Abs Z"
70#define AXIS_LABEL_PROP_ABS_RX "Abs Rotary X"
71#define AXIS_LABEL_PROP_ABS_RY "Abs Rotary Y"
72#define AXIS_LABEL_PROP_ABS_RZ "Abs Rotary Z"
73#define AXIS_LABEL_PROP_ABS_THROTTLE "Abs Throttle"
74#define AXIS_LABEL_PROP_ABS_RUDDER "Abs Rudder"
75#define AXIS_LABEL_PROP_ABS_WHEEL "Abs Wheel"
76#define AXIS_LABEL_PROP_ABS_GAS "Abs Gas"
77#define AXIS_LABEL_PROP_ABS_BRAKE "Abs Brake"
78#define AXIS_LABEL_PROP_ABS_HAT0X "Abs Hat 0 X"
79#define AXIS_LABEL_PROP_ABS_HAT0Y "Abs Hat 0 Y"
80#define AXIS_LABEL_PROP_ABS_HAT1X "Abs Hat 1 X"
81#define AXIS_LABEL_PROP_ABS_HAT1Y "Abs Hat 1 Y"
82#define AXIS_LABEL_PROP_ABS_HAT2X "Abs Hat 2 X"
83#define AXIS_LABEL_PROP_ABS_HAT2Y "Abs Hat 2 Y"
84#define AXIS_LABEL_PROP_ABS_HAT3X "Abs Hat 3 X"
85#define AXIS_LABEL_PROP_ABS_HAT3Y "Abs Hat 3 Y"
86#define AXIS_LABEL_PROP_ABS_PRESSURE "Abs Pressure"
87#define AXIS_LABEL_PROP_ABS_DISTANCE "Abs Distance"
88#define AXIS_LABEL_PROP_ABS_TILT_X "Abs Tilt X"
89#define AXIS_LABEL_PROP_ABS_TILT_Y "Abs Tilt Y"
90#define AXIS_LABEL_PROP_ABS_TOOL_WIDTH "Abs Tool Width"
91#define AXIS_LABEL_PROP_ABS_VOLUME "Abs Volume"
92#define AXIS_LABEL_PROP_ABS_MT_TOUCH_MAJOR "Abs MT Touch Major"
93#define AXIS_LABEL_PROP_ABS_MT_TOUCH_MINOR "Abs MT Touch Minor"
94#define AXIS_LABEL_PROP_ABS_MT_WIDTH_MAJOR "Abs MT Width Major"
95#define AXIS_LABEL_PROP_ABS_MT_WIDTH_MINOR "Abs MT Width Minor"
96#define AXIS_LABEL_PROP_ABS_MT_ORIENTATION "Abs MT Orientation"
97#define AXIS_LABEL_PROP_ABS_MT_POSITION_X "Abs MT Position X"
98#define AXIS_LABEL_PROP_ABS_MT_POSITION_Y "Abs MT Position Y"
99#define AXIS_LABEL_PROP_ABS_MT_TOOL_TYPE "Abs MT Tool Type"
100#define AXIS_LABEL_PROP_ABS_MT_BLOB_ID "Abs MT Blob ID"
101#define AXIS_LABEL_PROP_ABS_MT_TRACKING_ID "Abs MT Tracking ID"
102#define AXIS_LABEL_PROP_ABS_MT_PRESSURE "Abs MT Pressure"
103#define AXIS_LABEL_PROP_ABS_MISC "Abs Misc"
104
105/* Button names */
106#define BTN_LABEL_PROP "Button Labels"
107
108/* Default label */
109#define BTN_LABEL_PROP_BTN_UNKNOWN "Button Unknown"
110/* Wheel buttons */
111#define BTN_LABEL_PROP_BTN_WHEEL_UP "Button Wheel Up"
112#define BTN_LABEL_PROP_BTN_WHEEL_DOWN "Button Wheel Down"
113#define BTN_LABEL_PROP_BTN_HWHEEL_LEFT "Button Horiz Wheel Left"
114#define BTN_LABEL_PROP_BTN_HWHEEL_RIGHT "Button Horiz Wheel Right"
115
116/* The following are from linux/input.h */
117#define BTN_LABEL_PROP_BTN_0 "Button 0"
118#define BTN_LABEL_PROP_BTN_1 "Button 1"
119#define BTN_LABEL_PROP_BTN_2 "Button 2"
120#define BTN_LABEL_PROP_BTN_3 "Button 3"
121#define BTN_LABEL_PROP_BTN_4 "Button 4"
122#define BTN_LABEL_PROP_BTN_5 "Button 5"
123#define BTN_LABEL_PROP_BTN_6 "Button 6"
124#define BTN_LABEL_PROP_BTN_7 "Button 7"
125#define BTN_LABEL_PROP_BTN_8 "Button 8"
126#define BTN_LABEL_PROP_BTN_9 "Button 9"
127
128#define BTN_LABEL_PROP_BTN_LEFT "Button Left"
129#define BTN_LABEL_PROP_BTN_RIGHT "Button Right"
130#define BTN_LABEL_PROP_BTN_MIDDLE "Button Middle"
131#define BTN_LABEL_PROP_BTN_SIDE "Button Side"
132#define BTN_LABEL_PROP_BTN_EXTRA "Button Extra"
133#define BTN_LABEL_PROP_BTN_FORWARD "Button Forward"
134#define BTN_LABEL_PROP_BTN_BACK "Button Back"
135#define BTN_LABEL_PROP_BTN_TASK "Button Task"
136
137#define BTN_LABEL_PROP_BTN_TRIGGER "Button Trigger"
138#define BTN_LABEL_PROP_BTN_THUMB "Button Thumb"
139#define BTN_LABEL_PROP_BTN_THUMB2 "Button Thumb2"
140#define BTN_LABEL_PROP_BTN_TOP "Button Top"
141#define BTN_LABEL_PROP_BTN_TOP2 "Button Top2"
142#define BTN_LABEL_PROP_BTN_PINKIE "Button Pinkie"
143#define BTN_LABEL_PROP_BTN_BASE "Button Base"
144#define BTN_LABEL_PROP_BTN_BASE2 "Button Base2"
145#define BTN_LABEL_PROP_BTN_BASE3 "Button Base3"
146#define BTN_LABEL_PROP_BTN_BASE4 "Button Base4"
147#define BTN_LABEL_PROP_BTN_BASE5 "Button Base5"
148#define BTN_LABEL_PROP_BTN_BASE6 "Button Base6"
149#define BTN_LABEL_PROP_BTN_DEAD "Button Dead"
150
151#define BTN_LABEL_PROP_BTN_A "Button A"
152#define BTN_LABEL_PROP_BTN_B "Button B"
153#define BTN_LABEL_PROP_BTN_C "Button C"
154#define BTN_LABEL_PROP_BTN_X "Button X"
155#define BTN_LABEL_PROP_BTN_Y "Button Y"
156#define BTN_LABEL_PROP_BTN_Z "Button Z"
157#define BTN_LABEL_PROP_BTN_TL "Button T Left"
158#define BTN_LABEL_PROP_BTN_TR "Button T Right"
159#define BTN_LABEL_PROP_BTN_TL2 "Button T Left2"
160#define BTN_LABEL_PROP_BTN_TR2 "Button T Right2"
161#define BTN_LABEL_PROP_BTN_SELECT "Button Select"
162#define BTN_LABEL_PROP_BTN_START "Button Start"
163#define BTN_LABEL_PROP_BTN_MODE "Button Mode"
164#define BTN_LABEL_PROP_BTN_THUMBL "Button Thumb Left"
165#define BTN_LABEL_PROP_BTN_THUMBR "Button Thumb Right"
166
167#define BTN_LABEL_PROP_BTN_TOOL_PEN "Button Tool Pen"
168#define BTN_LABEL_PROP_BTN_TOOL_RUBBER "Button Tool Rubber"
169#define BTN_LABEL_PROP_BTN_TOOL_BRUSH "Button Tool Brush"
170#define BTN_LABEL_PROP_BTN_TOOL_PENCIL "Button Tool Pencil"
171#define BTN_LABEL_PROP_BTN_TOOL_AIRBRUSH "Button Tool Airbrush"
172#define BTN_LABEL_PROP_BTN_TOOL_FINGER "Button Tool Finger"
173#define BTN_LABEL_PROP_BTN_TOOL_MOUSE "Button Tool Mouse"
174#define BTN_LABEL_PROP_BTN_TOOL_LENS "Button Tool Lens"
175#define BTN_LABEL_PROP_BTN_TOUCH "Button Touch"
176#define BTN_LABEL_PROP_BTN_STYLUS "Button Stylus"
177#define BTN_LABEL_PROP_BTN_STYLUS2 "Button Stylus2"
178#define BTN_LABEL_PROP_BTN_TOOL_DOUBLETAP "Button Tool Doubletap"
179#define BTN_LABEL_PROP_BTN_TOOL_TRIPLETAP "Button Tool Tripletap"
180
181#define BTN_LABEL_PROP_BTN_GEAR_DOWN "Button Gear down"
182#define BTN_LABEL_PROP_BTN_GEAR_UP "Button Gear up"
183
184#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