VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.6.99-20090831/xserver-properties.h@ 40349

最後變更 在這個檔案從40349是 22658,由 vboxsync 提交於 15 年 前

export Xorg 1.6.99 headers to OSE

  • 屬性 svn:eol-style 設為 native
檔案大小: 7.7 KB
 
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_MISC "Abs Misc"
93
94/* Button names */
95#define BTN_LABEL_PROP "Button Labels"
96
97/* Default label */
98#define BTN_LABEL_PROP_BTN_UNKNOWN "Button Unknown"
99/* Wheel buttons */
100#define BTN_LABEL_PROP_BTN_WHEEL_UP "Button Wheel Up"
101#define BTN_LABEL_PROP_BTN_WHEEL_DOWN "Button Wheel Down"
102#define BTN_LABEL_PROP_BTN_HWHEEL_LEFT "Button Horiz Wheel Left"
103#define BTN_LABEL_PROP_BTN_HWHEEL_RIGHT "Button Horiz Wheel Right"
104
105/* The following are from linux/input.h */
106#define BTN_LABEL_PROP_BTN_0 "Button 0"
107#define BTN_LABEL_PROP_BTN_1 "Button 1"
108#define BTN_LABEL_PROP_BTN_2 "Button 2"
109#define BTN_LABEL_PROP_BTN_3 "Button 3"
110#define BTN_LABEL_PROP_BTN_4 "Button 4"
111#define BTN_LABEL_PROP_BTN_5 "Button 5"
112#define BTN_LABEL_PROP_BTN_6 "Button 6"
113#define BTN_LABEL_PROP_BTN_7 "Button 7"
114#define BTN_LABEL_PROP_BTN_8 "Button 8"
115#define BTN_LABEL_PROP_BTN_9 "Button 9"
116
117#define BTN_LABEL_PROP_BTN_LEFT "Button Left"
118#define BTN_LABEL_PROP_BTN_RIGHT "Button Right"
119#define BTN_LABEL_PROP_BTN_MIDDLE "Button Middle"
120#define BTN_LABEL_PROP_BTN_SIDE "Button Side"
121#define BTN_LABEL_PROP_BTN_EXTRA "Button Extra"
122#define BTN_LABEL_PROP_BTN_FORWARD "Button Forward"
123#define BTN_LABEL_PROP_BTN_BACK "Button Back"
124#define BTN_LABEL_PROP_BTN_TASK "Button Task"
125
126#define BTN_LABEL_PROP_BTN_TRIGGER "Button Trigger"
127#define BTN_LABEL_PROP_BTN_THUMB "Button Thumb"
128#define BTN_LABEL_PROP_BTN_THUMB2 "Button Thumb2"
129#define BTN_LABEL_PROP_BTN_TOP "Button Top"
130#define BTN_LABEL_PROP_BTN_TOP2 "Button Top2"
131#define BTN_LABEL_PROP_BTN_PINKIE "Button Pinkie"
132#define BTN_LABEL_PROP_BTN_BASE "Button Base"
133#define BTN_LABEL_PROP_BTN_BASE2 "Button Base2"
134#define BTN_LABEL_PROP_BTN_BASE3 "Button Base3"
135#define BTN_LABEL_PROP_BTN_BASE4 "Button Base4"
136#define BTN_LABEL_PROP_BTN_BASE5 "Button Base5"
137#define BTN_LABEL_PROP_BTN_BASE6 "Button Base6"
138#define BTN_LABEL_PROP_BTN_DEAD "Button Dead"
139
140#define BTN_LABEL_PROP_BTN_A "Button A"
141#define BTN_LABEL_PROP_BTN_B "Button B"
142#define BTN_LABEL_PROP_BTN_C "Button C"
143#define BTN_LABEL_PROP_BTN_X "Button X"
144#define BTN_LABEL_PROP_BTN_Y "Button Y"
145#define BTN_LABEL_PROP_BTN_Z "Button Z"
146#define BTN_LABEL_PROP_BTN_TL "Button T Left"
147#define BTN_LABEL_PROP_BTN_TR "Button T Right"
148#define BTN_LABEL_PROP_BTN_TL2 "Button T Left2"
149#define BTN_LABEL_PROP_BTN_TR2 "Button T Right2"
150#define BTN_LABEL_PROP_BTN_SELECT "Button Select"
151#define BTN_LABEL_PROP_BTN_START "Button Start"
152#define BTN_LABEL_PROP_BTN_MODE "Button Mode"
153#define BTN_LABEL_PROP_BTN_THUMBL "Button Thumb Left"
154#define BTN_LABEL_PROP_BTN_THUMBR "Button Thumb Right"
155
156#define BTN_LABEL_PROP_BTN_TOOL_PEN "Button Tool Pen"
157#define BTN_LABEL_PROP_BTN_TOOL_RUBBER "Button Tool Rubber"
158#define BTN_LABEL_PROP_BTN_TOOL_BRUSH "Button Tool Brush"
159#define BTN_LABEL_PROP_BTN_TOOL_PENCIL "Button Tool Pencil"
160#define BTN_LABEL_PROP_BTN_TOOL_AIRBRUSH "Button Tool Airbrush"
161#define BTN_LABEL_PROP_BTN_TOOL_FINGER "Button Tool Finger"
162#define BTN_LABEL_PROP_BTN_TOOL_MOUSE "Button Tool Mouse"
163#define BTN_LABEL_PROP_BTN_TOOL_LENS "Button Tool Lens"
164#define BTN_LABEL_PROP_BTN_TOUCH "Button Touch"
165#define BTN_LABEL_PROP_BTN_STYLUS "Button Stylus"
166#define BTN_LABEL_PROP_BTN_STYLUS2 "Button Stylus2"
167#define BTN_LABEL_PROP_BTN_TOOL_DOUBLETAP "Button Tool Doubletap"
168#define BTN_LABEL_PROP_BTN_TOOL_TRIPLETAP "Button Tool Tripletap"
169
170#define BTN_LABEL_PROP_BTN_GEAR_DOWN "Button Gear down"
171#define BTN_LABEL_PROP_BTN_GEAR_UP "Button Gear up"
172
173#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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