VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.18.0/xkbDflts.h@ 78293

Last change on this file since 78293 was 58634, checked in by vboxsync, 9 years ago

Additions/x11: added header files for building X.Org video driver against X.Org Server 1.18.

  • Property svn:eol-style set to native
File size: 14.4 KB
Line 
1/* This file generated automatically by xkbcomp */
2/* DO NOT EDIT */
3#ifdef HAVE_DIX_CONFIG_H
4#include <dix-config.h>
5#endif
6
7#ifndef DEFAULT_H
8#define DEFAULT_H 1
9
10#define GET_ATOM(d,s) MakeAtom(s,strlen(s),1)
11#define DPYTYPE char *
12#define NUM_KEYS 1
13
14#define vmod_NumLock 0
15#define vmod_Alt 1
16#define vmod_LevelThree 2
17#define vmod_AltGr 3
18#define vmod_ScrollLock 4
19
20#define vmod_NumLockMask (1<<0)
21#define vmod_AltMask (1<<1)
22#define vmod_LevelThreeMask (1<<2)
23#define vmod_AltGrMask (1<<3)
24#define vmod_ScrollLockMask (1<<4)
25
26/* types name is "default" */
27static Atom lnames_ONE_LEVEL[1];
28
29static XkbKTMapEntryRec map_TWO_LEVEL[1] = {
30 {1, 1, {ShiftMask, ShiftMask, 0}}
31};
32
33static Atom lnames_TWO_LEVEL[2];
34
35static XkbKTMapEntryRec map_ALPHABETIC[2] = {
36 {1, 1, {ShiftMask, ShiftMask, 0}},
37 {1, 0, {LockMask, LockMask, 0}}
38};
39
40static XkbModsRec preserve_ALPHABETIC[2] = {
41 {0, 0, 0},
42 {LockMask, LockMask, 0}
43};
44
45static Atom lnames_ALPHABETIC[2];
46
47static XkbKTMapEntryRec map_KEYPAD[2] = {
48 {1, 1, {ShiftMask, ShiftMask, 0}},
49 {0, 1, {0, 0, vmod_NumLockMask}}
50};
51
52static Atom lnames_KEYPAD[2];
53
54static XkbKTMapEntryRec map_PC_BREAK[1] = {
55 {1, 1, {ControlMask, ControlMask, 0}}
56};
57
58static Atom lnames_PC_BREAK[2];
59
60static XkbKTMapEntryRec map_PC_SYSRQ[1] = {
61 {0, 1, {0, 0, vmod_AltMask}}
62};
63
64static Atom lnames_PC_SYSRQ[2];
65
66static XkbKTMapEntryRec map_CTRL_ALT[1] = {
67 {0, 1, {ControlMask, ControlMask, vmod_AltMask}}
68};
69
70static Atom lnames_CTRL_ALT[2];
71
72static XkbKTMapEntryRec map_THREE_LEVEL[3] = {
73 {1, 1, {ShiftMask, ShiftMask, 0}},
74 {0, 2, {0, 0, vmod_LevelThreeMask}},
75 {0, 2, {ShiftMask, ShiftMask, vmod_LevelThreeMask}}
76};
77
78static Atom lnames_THREE_LEVEL[3];
79
80static XkbKTMapEntryRec map_SHIFT_ALT[1] = {
81 {0, 1, {ShiftMask, ShiftMask, vmod_AltMask}}
82};
83
84static Atom lnames_SHIFT_ALT[2];
85
86static XkbKeyTypeRec dflt_types[] = {
87 {
88 {0, 0, 0},
89 1,
90 0, NULL, NULL,
91 None, lnames_ONE_LEVEL},
92 {
93 {ShiftMask, ShiftMask, 0},
94 2,
95 1, map_TWO_LEVEL, NULL,
96 None, lnames_TWO_LEVEL},
97 {
98 {ShiftMask | LockMask, ShiftMask | LockMask, 0},
99 2,
100 2, map_ALPHABETIC, preserve_ALPHABETIC,
101 None, lnames_ALPHABETIC},
102 {
103 {ShiftMask, ShiftMask, vmod_NumLockMask},
104 2,
105 2, map_KEYPAD, NULL,
106 None, lnames_KEYPAD},
107 {
108 {ControlMask, ControlMask, 0},
109 2,
110 1, map_PC_BREAK, NULL,
111 None, lnames_PC_BREAK},
112 {
113 {0, 0, vmod_AltMask},
114 2,
115 1, map_PC_SYSRQ, NULL,
116 None, lnames_PC_SYSRQ},
117 {
118 {ControlMask, ControlMask, vmod_AltMask},
119 2,
120 1, map_CTRL_ALT, NULL,
121 None, lnames_CTRL_ALT},
122 {
123 {ShiftMask, ShiftMask, vmod_LevelThreeMask},
124 3,
125 3, map_THREE_LEVEL, NULL,
126 None, lnames_THREE_LEVEL},
127 {
128 {ShiftMask, ShiftMask, vmod_AltMask},
129 2,
130 1, map_SHIFT_ALT, NULL,
131 None, lnames_SHIFT_ALT}
132};
133
134#define num_dflt_types (sizeof(dflt_types)/sizeof(XkbKeyTypeRec))
135
136static void
137initTypeNames(DPYTYPE dpy)
138{
139 dflt_types[0].name = GET_ATOM(dpy, "ONE_LEVEL");
140 lnames_ONE_LEVEL[0] = GET_ATOM(dpy, "Any");
141 dflt_types[1].name = GET_ATOM(dpy, "TWO_LEVEL");
142 lnames_TWO_LEVEL[0] = GET_ATOM(dpy, "Base");
143 lnames_TWO_LEVEL[1] = GET_ATOM(dpy, "Shift");
144 dflt_types[2].name = GET_ATOM(dpy, "ALPHABETIC");
145 lnames_ALPHABETIC[0] = GET_ATOM(dpy, "Base");
146 lnames_ALPHABETIC[1] = GET_ATOM(dpy, "Caps");
147 dflt_types[3].name = GET_ATOM(dpy, "KEYPAD");
148 lnames_KEYPAD[0] = GET_ATOM(dpy, "Base");
149 lnames_KEYPAD[1] = GET_ATOM(dpy, "Number");
150 dflt_types[4].name = GET_ATOM(dpy, "PC_BREAK");
151 lnames_PC_BREAK[0] = GET_ATOM(dpy, "Base");
152 lnames_PC_BREAK[1] = GET_ATOM(dpy, "Control");
153 dflt_types[5].name = GET_ATOM(dpy, "PC_SYSRQ");
154 lnames_PC_SYSRQ[0] = GET_ATOM(dpy, "Base");
155 lnames_PC_SYSRQ[1] = GET_ATOM(dpy, "Alt");
156 dflt_types[6].name = GET_ATOM(dpy, "CTRL+ALT");
157 lnames_CTRL_ALT[0] = GET_ATOM(dpy, "Base");
158 lnames_CTRL_ALT[1] = GET_ATOM(dpy, "Ctrl+Alt");
159 dflt_types[7].name = GET_ATOM(dpy, "THREE_LEVEL");
160 lnames_THREE_LEVEL[0] = GET_ATOM(dpy, "Base");
161 lnames_THREE_LEVEL[1] = GET_ATOM(dpy, "Shift");
162 lnames_THREE_LEVEL[2] = GET_ATOM(dpy, "Level3");
163 dflt_types[8].name = GET_ATOM(dpy, "SHIFT+ALT");
164 lnames_SHIFT_ALT[0] = GET_ATOM(dpy, "Base");
165 lnames_SHIFT_ALT[1] = GET_ATOM(dpy, "Shift+Alt");
166}
167
168/* compat name is "default" */
169static XkbSymInterpretRec dfltSI[69] = {
170 {XK_ISO_Level2_Latch, 0x0000,
171 XkbSI_LevelOneOnly | XkbSI_Exactly, ShiftMask,
172 255,
173 {XkbSA_LatchMods, {0x03, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}},
174 {XK_Eisu_Shift, 0x0000,
175 XkbSI_Exactly, LockMask,
176 255,
177 {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
178 {XK_Eisu_toggle, 0x0000,
179 XkbSI_Exactly, LockMask,
180 255,
181 {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
182 {XK_Kana_Shift, 0x0000,
183 XkbSI_Exactly, LockMask,
184 255,
185 {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
186 {XK_Kana_Lock, 0x0000,
187 XkbSI_Exactly, LockMask,
188 255,
189 {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
190 {XK_Shift_Lock, 0x0000,
191 XkbSI_AnyOf, ShiftMask | LockMask,
192 255,
193 {XkbSA_LockMods, {0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}},
194 {XK_Num_Lock, 0x0000,
195 XkbSI_AnyOf, 0xff,
196 0,
197 {XkbSA_LockMods, {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00}}},
198 {XK_Alt_L, 0x0000,
199 XkbSI_AnyOf, 0xff,
200 1,
201 {XkbSA_SetMods, {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
202 {XK_Alt_R, 0x0000,
203 XkbSI_AnyOf, 0xff,
204 1,
205 {XkbSA_SetMods, {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
206 {XK_Scroll_Lock, 0x0000,
207 XkbSI_AnyOf, 0xff,
208 4,
209 {XkbSA_LockMods, {0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
210 {XK_ISO_Lock, 0x0000,
211 XkbSI_AnyOf, 0xff,
212 255,
213 {XkbSA_ISOLock, {0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
214 {XK_ISO_Level3_Shift, 0x0000,
215 XkbSI_LevelOneOnly | XkbSI_AnyOf, 0xff,
216 2,
217 {XkbSA_SetMods, {0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00}}},
218 {XK_ISO_Level3_Latch, 0x0000,
219 XkbSI_LevelOneOnly | XkbSI_AnyOf, 0xff,
220 2,
221 {XkbSA_LatchMods, {0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00}}},
222 {XK_Mode_switch, 0x0000,
223 XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff,
224 3,
225 {XkbSA_SetGroup, {0x05, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}},
226 {XK_KP_1, 0x0001,
227 XkbSI_AnyOfOrNone, 0xff,
228 255,
229 {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x01, 0x00, 0x00}}},
230 {XK_KP_End, 0x0001,
231 XkbSI_AnyOfOrNone, 0xff,
232 255,
233 {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x01, 0x00, 0x00}}},
234 {XK_KP_2, 0x0001,
235 XkbSI_AnyOfOrNone, 0xff,
236 255,
237 {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00}}},
238 {XK_KP_Down, 0x0001,
239 XkbSI_AnyOfOrNone, 0xff,
240 255,
241 {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00}}},
242 {XK_KP_3, 0x0001,
243 XkbSI_AnyOfOrNone, 0xff,
244 255,
245 {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00}}},
246 {XK_KP_Next, 0x0001,
247 XkbSI_AnyOfOrNone, 0xff,
248 255,
249 {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00}}},
250 {XK_KP_4, 0x0001,
251 XkbSI_AnyOfOrNone, 0xff,
252 255,
253 {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00}}},
254 {XK_KP_Left, 0x0001,
255 XkbSI_AnyOfOrNone, 0xff,
256 255,
257 {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00}}},
258 {XK_KP_6, 0x0001,
259 XkbSI_AnyOfOrNone, 0xff,
260 255,
261 {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}},
262 {XK_KP_Right, 0x0001,
263 XkbSI_AnyOfOrNone, 0xff,
264 255,
265 {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}},
266 {XK_KP_7, 0x0001,
267 XkbSI_AnyOfOrNone, 0xff,
268 255,
269 {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00}}},
270 {XK_KP_Home, 0x0001,
271 XkbSI_AnyOfOrNone, 0xff,
272 255,
273 {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00}}},
274 {XK_KP_8, 0x0001,
275 XkbSI_AnyOfOrNone, 0xff,
276 255,
277 {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00}}},
278 {XK_KP_Up, 0x0001,
279 XkbSI_AnyOfOrNone, 0xff,
280 255,
281 {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00}}},
282 {XK_KP_9, 0x0001,
283 XkbSI_AnyOfOrNone, 0xff,
284 255,
285 {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00}}},
286 {XK_KP_Prior, 0x0001,
287 XkbSI_AnyOfOrNone, 0xff,
288 255,
289 {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0xff, 0xff, 0x00, 0x00}}},
290 {XK_KP_5, 0x0001,
291 XkbSI_AnyOfOrNone, 0xff,
292 255,
293 {XkbSA_PtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
294 {XK_KP_Begin, 0x0001,
295 XkbSI_AnyOfOrNone, 0xff,
296 255,
297 {XkbSA_PtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
298 {XK_KP_F1, 0x0001,
299 XkbSI_AnyOfOrNone, 0xff,
300 255,
301 {XkbSA_SetPtrDflt, {0x04, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}},
302 {XK_KP_Divide, 0x0001,
303 XkbSI_AnyOfOrNone, 0xff,
304 255,
305 {XkbSA_SetPtrDflt, {0x04, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}},
306 {XK_KP_F2, 0x0001,
307 XkbSI_AnyOfOrNone, 0xff,
308 255,
309 {XkbSA_SetPtrDflt, {0x04, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00}}},
310 {XK_KP_Multiply, 0x0001,
311 XkbSI_AnyOfOrNone, 0xff,
312 255,
313 {XkbSA_SetPtrDflt, {0x04, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00}}},
314 {XK_KP_F3, 0x0001,
315 XkbSI_AnyOfOrNone, 0xff,
316 255,
317 {XkbSA_SetPtrDflt, {0x04, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00}}},
318 {XK_KP_Subtract, 0x0001,
319 XkbSI_AnyOfOrNone, 0xff,
320 255,
321 {XkbSA_SetPtrDflt, {0x04, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00}}},
322 {XK_KP_Separator, 0x0001,
323 XkbSI_AnyOfOrNone, 0xff,
324 255,
325 {XkbSA_PtrBtn, {0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00}}},
326 {XK_KP_Add, 0x0001,
327 XkbSI_AnyOfOrNone, 0xff,
328 255,
329 {XkbSA_PtrBtn, {0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00}}},
330 {XK_KP_0, 0x0001,
331 XkbSI_AnyOfOrNone, 0xff,
332 255,
333 {XkbSA_LockPtrBtn, {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
334 {XK_KP_Insert, 0x0001,
335 XkbSI_AnyOfOrNone, 0xff,
336 255,
337 {XkbSA_LockPtrBtn, {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
338 {XK_KP_Decimal, 0x0001,
339 XkbSI_AnyOfOrNone, 0xff,
340 255,
341 {XkbSA_LockPtrBtn, {0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
342 {XK_KP_Delete, 0x0001,
343 XkbSI_AnyOfOrNone, 0xff,
344 255,
345 {XkbSA_LockPtrBtn, {0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
346 {XK_Pointer_Button_Dflt, 0x0000,
347 XkbSI_AnyOfOrNone, 0xff,
348 255,
349 {XkbSA_PtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
350 {XK_Pointer_Button1, 0x0000,
351 XkbSI_AnyOfOrNone, 0xff,
352 255,
353 {XkbSA_PtrBtn, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}},
354 {XK_Pointer_Button2, 0x0000,
355 XkbSI_AnyOfOrNone, 0xff,
356 255,
357 {XkbSA_PtrBtn, {0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00}}},
358 {XK_Pointer_Button3, 0x0000,
359 XkbSI_AnyOfOrNone, 0xff,
360 255,
361 {XkbSA_PtrBtn, {0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00}}},
362 {XK_Pointer_DblClick_Dflt, 0x0000,
363 XkbSI_AnyOfOrNone, 0xff,
364 255,
365 {XkbSA_PtrBtn, {0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00}}},
366 {XK_Pointer_DblClick1, 0x0000,
367 XkbSI_AnyOfOrNone, 0xff,
368 255,
369 {XkbSA_PtrBtn, {0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00}}},
370 {XK_Pointer_DblClick2, 0x0000,
371 XkbSI_AnyOfOrNone, 0xff,
372 255,
373 {XkbSA_PtrBtn, {0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00}}},
374 {XK_Pointer_DblClick3, 0x0000,
375 XkbSI_AnyOfOrNone, 0xff,
376 255,
377 {XkbSA_PtrBtn, {0x00, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00}}},
378 {XK_Pointer_Drag_Dflt, 0x0000,
379 XkbSI_AnyOfOrNone, 0xff,
380 255,
381 {XkbSA_LockPtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
382 {XK_Pointer_Drag1, 0x0000,
383 XkbSI_AnyOfOrNone, 0xff,
384 255,
385 {XkbSA_LockPtrBtn, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}},
386 {XK_Pointer_Drag2, 0x0000,
387 XkbSI_AnyOfOrNone, 0xff,
388 255,
389 {XkbSA_LockPtrBtn, {0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00}}},
390 {XK_Pointer_Drag3, 0x0000,
391 XkbSI_AnyOfOrNone, 0xff,
392 255,
393 {XkbSA_LockPtrBtn, {0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00}}},
394 {XK_Pointer_EnableKeys, 0x0000,
395 XkbSI_AnyOfOrNone, 0xff,
396 255,
397 {XkbSA_LockControls, {0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00}}},
398 {XK_Pointer_Accelerate, 0x0000,
399 XkbSI_AnyOfOrNone, 0xff,
400 255,
401 {XkbSA_LockControls, {0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00}}},
402 {XK_Pointer_DfltBtnNext, 0x0000,
403 XkbSI_AnyOfOrNone, 0xff,
404 255,
405 {XkbSA_SetPtrDflt, {0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}},
406 {XK_Pointer_DfltBtnPrev, 0x0000,
407 XkbSI_AnyOfOrNone, 0xff,
408 255,
409 {XkbSA_SetPtrDflt, {0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x00}}},
410 {XK_AccessX_Enable, 0x0000,
411 XkbSI_AnyOfOrNone, 0xff,
412 255,
413 {XkbSA_LockControls, {0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00}}},
414 {XK_Terminate_Server, 0x0000,
415 XkbSI_AnyOfOrNone, 0xff,
416 255,
417 {XkbSA_Terminate, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
418 {XK_ISO_Group_Latch, 0x0000,
419 XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff,
420 3,
421 {XkbSA_LatchGroup, {0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}},
422 {XK_ISO_Next_Group, 0x0000,
423 XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff,
424 3,
425 {XkbSA_LockGroup, {0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}},
426 {XK_ISO_Prev_Group, 0x0000,
427 XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff,
428 3,
429 {XkbSA_LockGroup, {0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00}}},
430 {XK_ISO_First_Group, 0x0000,
431 XkbSI_AnyOfOrNone, 0xff,
432 255,
433 {XkbSA_LockGroup, {0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}},
434 {XK_ISO_Last_Group, 0x0000,
435 XkbSI_AnyOfOrNone, 0xff,
436 255,
437 {XkbSA_LockGroup, {0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}},
438 {NoSymbol, 0x0000,
439 XkbSI_Exactly, LockMask,
440 255,
441 {XkbSA_LockMods, {0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00}}},
442 {NoSymbol, 0x0000,
443 XkbSI_AnyOf, 0xff,
444 255,
445 {XkbSA_SetMods, {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}
446};
447
448#define num_dfltSI (sizeof(dfltSI)/sizeof(XkbSymInterpretRec))
449
450static XkbCompatMapRec compatMap = {
451 dfltSI,
452 { /* group compatibility */
453 {0, 0, 0},
454 {0, 0, vmod_AltGrMask},
455 {0, 0, vmod_AltGrMask},
456 {0, 0, vmod_AltGrMask}
457 },
458 num_dfltSI, num_dfltSI
459};
460
461static void
462initIndicatorNames(DPYTYPE dpy, XkbDescPtr xkb)
463{
464 xkb->names->indicators[0] = GET_ATOM(dpy, "Caps Lock");
465 xkb->names->indicators[1] = GET_ATOM(dpy, "Num Lock");
466 xkb->names->indicators[2] = GET_ATOM(dpy, "Shift Lock");
467 xkb->names->indicators[3] = GET_ATOM(dpy, "Mouse Keys");
468 xkb->names->indicators[4] = GET_ATOM(dpy, "Scroll Lock");
469 xkb->names->indicators[5] = GET_ATOM(dpy, "Group 2");
470}
471#endif /* DEFAULT_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