VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.14.0/xf86tokens.h@ 77138

Last change on this file since 77138 was 45134, checked in by vboxsync, 12 years ago

Additions/X11: build vboxvideo_drv.so for X.Org Server 1.14.

  • Property svn:eol-style set to native
File size: 6.4 KB
Line 
1/*
2 *
3 * Copyright (c) 1997 Metro Link Incorporated
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included in
13 * all copies or substantial portions of the 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 MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
19 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
20 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 * SOFTWARE.
22 *
23 * Except as contained in this notice, the name of the Metro Link shall not be
24 * used in advertising or otherwise to promote the sale, use or other dealings
25 * in this Software without prior written authorization from Metro Link.
26 *
27 */
28/*
29 * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
30 *
31 * Permission is hereby granted, free of charge, to any person obtaining a
32 * copy of this software and associated documentation files (the "Software"),
33 * to deal in the Software without restriction, including without limitation
34 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
35 * and/or sell copies of the Software, and to permit persons to whom the
36 * Software is furnished to do so, subject to the following conditions:
37 *
38 * The above copyright notice and this permission notice shall be included in
39 * all copies or substantial portions of the Software.
40 *
41 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
44 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
45 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
46 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
47 * OTHER DEALINGS IN THE SOFTWARE.
48 *
49 * Except as contained in this notice, the name of the copyright holder(s)
50 * and author(s) shall not be used in advertising or otherwise to promote
51 * the sale, use or other dealings in this Software without prior written
52 * authorization from the copyright holder(s) and author(s).
53 */
54
55#ifdef HAVE_XORG_CONFIG_H
56#include <xorg-config.h>
57#endif
58
59#ifndef _xf86_tokens_h
60#define _xf86_tokens_h
61
62/* Undefine symbols that some OSs might define */
63#undef IOBASE
64
65/*
66 * Each token should have a unique value regardless of the section
67 * it is used in.
68 */
69
70typedef enum {
71 /* errno-style tokens */
72 OBSOLETE_TOKEN = -5,
73 EOF_TOKEN = -4,
74 LOCK_TOKEN = -3,
75 ERROR_TOKEN = -2,
76
77 /* value type tokens */
78 NUMBER = 1,
79 STRING,
80
81 /* Tokens that can appear in many sections */
82 SECTION,
83 SUBSECTION,
84 ENDSECTION,
85 ENDSUBSECTION,
86 IDENTIFIER,
87 VENDOR,
88 DASH,
89 COMMA,
90 OPTION,
91 COMMENT,
92
93 /* Frequency units */
94 HRZ,
95 KHZ,
96 MHZ,
97
98 /* File tokens */
99 FONTPATH,
100 MODULEPATH,
101 LOGFILEPATH,
102 XKBDIR,
103
104 /* Server Flag tokens. These are deprecated in favour of generic Options */
105 NOTRAPSIGNALS,
106 DONTZAP,
107 DONTZOOM,
108 DISABLEVIDMODE,
109 ALLOWNONLOCAL,
110 DISABLEMODINDEV,
111 MODINDEVALLOWNONLOCAL,
112 ALLOWMOUSEOPENFAIL,
113 BLANKTIME,
114 STANDBYTIME,
115 SUSPENDTIME,
116 OFFTIME,
117 DEFAULTLAYOUT,
118
119 /* Monitor tokens */
120 MODEL,
121 MODELINE,
122 DISPLAYSIZE,
123 HORIZSYNC,
124 VERTREFRESH,
125 MODE,
126 GAMMA,
127 USEMODES,
128
129 /* Modes tokens */
130 /* no new ones */
131
132 /* Mode tokens */
133 DOTCLOCK,
134 HTIMINGS,
135 VTIMINGS,
136 FLAGS,
137 HSKEW,
138 BCAST,
139 VSCAN,
140 ENDMODE,
141
142 /* Screen tokens */
143 OBSDRIVER,
144 MDEVICE,
145 MONITOR,
146 SCREENNO,
147 DEFAULTDEPTH,
148 DEFAULTBPP,
149 DEFAULTFBBPP,
150
151 /* VideoAdaptor tokens */
152 VIDEOADAPTOR,
153
154 /* Mode timing tokens */
155 TT_INTERLACE,
156 TT_PHSYNC,
157 TT_NHSYNC,
158 TT_PVSYNC,
159 TT_NVSYNC,
160 TT_CSYNC,
161 TT_PCSYNC,
162 TT_NCSYNC,
163 TT_DBLSCAN,
164 TT_HSKEW,
165 TT_BCAST,
166 TT_VSCAN,
167
168 /* Module tokens */
169 LOAD,
170 LOAD_DRIVER,
171 DISABLE,
172
173 /* Device tokens */
174 DRIVER,
175 CHIPSET,
176 CLOCKS,
177 VIDEORAM,
178 BOARD,
179 IOBASE,
180 RAMDAC,
181 DACSPEED,
182 BIOSBASE,
183 MEMBASE,
184 CLOCKCHIP,
185 CHIPID,
186 CHIPREV,
187 CARD,
188 BUSID,
189 TEXTCLOCKFRQ,
190 IRQ,
191
192 /* Keyboard tokens */
193 AUTOREPEAT,
194 XLEDS,
195 KPROTOCOL,
196 XKBKEYMAP,
197 XKBCOMPAT,
198 XKBTYPES,
199 XKBKEYCODES,
200 XKBGEOMETRY,
201 XKBSYMBOLS,
202 XKBDISABLE,
203 PANIX106,
204 XKBRULES,
205 XKBMODEL,
206 XKBLAYOUT,
207 XKBVARIANT,
208 XKBOPTIONS,
209 /* Obsolete keyboard tokens */
210 SERVERNUM,
211 LEFTALT,
212 RIGHTALT,
213 SCROLLLOCK_TOK,
214 RIGHTCTL,
215 /* arguments for the above obsolete tokens */
216 CONF_KM_META,
217 CONF_KM_COMPOSE,
218 CONF_KM_MODESHIFT,
219 CONF_KM_MODELOCK,
220 CONF_KM_SCROLLLOCK,
221 CONF_KM_CONTROL,
222
223 /* Pointer tokens */
224 EMULATE3,
225 BAUDRATE,
226 SAMPLERATE,
227 PRESOLUTION,
228 CLEARDTR,
229 CLEARRTS,
230 CHORDMIDDLE,
231 PROTOCOL,
232 PDEVICE,
233 EM3TIMEOUT,
234 DEVICE_NAME,
235 ALWAYSCORE,
236 PBUTTONS,
237 ZAXISMAPPING,
238
239 /* Pointer Z axis mapping tokens */
240 XAXIS,
241 YAXIS,
242
243 /* Display tokens */
244 MODES,
245 VIEWPORT,
246 VIRTUAL,
247 VISUAL,
248 BLACK_TOK,
249 WHITE_TOK,
250 DEPTH,
251 BPP,
252 WEIGHT,
253
254 /* Layout Tokens */
255 SCREEN,
256 INACTIVE,
257 INPUTDEVICE,
258
259 /* Adjaceny Tokens */
260 RIGHTOF,
261 LEFTOF,
262 ABOVE,
263 BELOW,
264 RELATIVE,
265 ABSOLUTE,
266
267 /* Vendor Tokens */
268 VENDORNAME,
269
270 /* DRI Tokens */
271 GROUP,
272
273 /* InputClass Tokens */
274 MATCH_PRODUCT,
275 MATCH_VENDOR,
276 MATCH_DEVICE_PATH,
277 MATCH_OS,
278 MATCH_PNPID,
279 MATCH_USBID,
280 MATCH_DRIVER,
281 MATCH_TAG,
282 MATCH_LAYOUT,
283 MATCH_IS_KEYBOARD,
284 MATCH_IS_POINTER,
285 MATCH_IS_JOYSTICK,
286 MATCH_IS_TABLET,
287 MATCH_IS_TOUCHPAD,
288 MATCH_IS_TOUCHSCREEN
289} ParserTokens;
290
291#endif /* _xf86_tokens_h */
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