1706f2543Smrg/* This file generated automatically by xkbcomp */
2706f2543Smrg/* DO  NOT EDIT */
3706f2543Smrg#ifdef HAVE_DIX_CONFIG_H
4706f2543Smrg#include <dix-config.h>
5706f2543Smrg#endif
6706f2543Smrg
7706f2543Smrg#ifndef DEFAULT_H
8706f2543Smrg#define DEFAULT_H 1
9706f2543Smrg
10706f2543Smrg#define GET_ATOM(d,s)	MakeAtom(s,strlen(s),1)
11706f2543Smrg#define DPYTYPE	char *
12706f2543Smrg#define NUM_KEYS	1
13706f2543Smrg
14706f2543Smrg#define	vmod_NumLock	0
15706f2543Smrg#define	vmod_Alt	1
16706f2543Smrg#define	vmod_LevelThree	2
17706f2543Smrg#define	vmod_AltGr	3
18706f2543Smrg#define	vmod_ScrollLock	4
19706f2543Smrg
20706f2543Smrg#define	vmod_NumLockMask	(1<<0)
21706f2543Smrg#define	vmod_AltMask	(1<<1)
22706f2543Smrg#define	vmod_LevelThreeMask	(1<<2)
23706f2543Smrg#define	vmod_AltGrMask	(1<<3)
24706f2543Smrg#define	vmod_ScrollLockMask	(1<<4)
25706f2543Smrg
26706f2543Smrg/* types name is "default" */
27706f2543Smrgstatic Atom lnames_ONE_LEVEL[1];
28706f2543Smrg
29706f2543Smrgstatic XkbKTMapEntryRec map_TWO_LEVEL[1]= {
30706f2543Smrg    { 1,      1, {       ShiftMask,       ShiftMask,               0 } }
31706f2543Smrg};
32706f2543Smrgstatic Atom lnames_TWO_LEVEL[2];
33706f2543Smrg
34706f2543Smrgstatic XkbKTMapEntryRec map_ALPHABETIC[2]= {
35706f2543Smrg    { 1,      1, {       ShiftMask,       ShiftMask,               0 } },
36706f2543Smrg    { 1,      0, {        LockMask,        LockMask,               0 } }
37706f2543Smrg};
38706f2543Smrgstatic XkbModsRec preserve_ALPHABETIC[2]= {
39706f2543Smrg    {                 0,               0,               0 },
40706f2543Smrg    {          LockMask,        LockMask,               0 }
41706f2543Smrg};
42706f2543Smrgstatic Atom lnames_ALPHABETIC[2];
43706f2543Smrg
44706f2543Smrgstatic XkbKTMapEntryRec map_KEYPAD[2]= {
45706f2543Smrg    { 1,      1, {       ShiftMask,       ShiftMask,               0 } },
46706f2543Smrg    { 0,      1, {               0,               0, vmod_NumLockMask } }
47706f2543Smrg};
48706f2543Smrgstatic Atom lnames_KEYPAD[2];
49706f2543Smrg
50706f2543Smrgstatic XkbKTMapEntryRec map_PC_BREAK[1]= {
51706f2543Smrg    { 1,      1, {     ControlMask,     ControlMask,               0 } }
52706f2543Smrg};
53706f2543Smrgstatic Atom lnames_PC_BREAK[2];
54706f2543Smrg
55706f2543Smrgstatic XkbKTMapEntryRec map_PC_SYSRQ[1]= {
56706f2543Smrg    { 0,      1, {               0,               0,    vmod_AltMask } }
57706f2543Smrg};
58706f2543Smrgstatic Atom lnames_PC_SYSRQ[2];
59706f2543Smrg
60706f2543Smrgstatic XkbKTMapEntryRec map_CTRL_ALT[1]= {
61706f2543Smrg    { 0,      1, {     ControlMask,     ControlMask,    vmod_AltMask } }
62706f2543Smrg};
63706f2543Smrgstatic Atom lnames_CTRL_ALT[2];
64706f2543Smrg
65706f2543Smrgstatic XkbKTMapEntryRec map_THREE_LEVEL[3]= {
66706f2543Smrg    { 1,      1, {       ShiftMask,       ShiftMask,               0 } },
67706f2543Smrg    { 0,      2, {               0,               0, vmod_LevelThreeMask } },
68706f2543Smrg    { 0,      2, {       ShiftMask,       ShiftMask, vmod_LevelThreeMask } }
69706f2543Smrg};
70706f2543Smrgstatic Atom lnames_THREE_LEVEL[3];
71706f2543Smrg
72706f2543Smrgstatic XkbKTMapEntryRec map_SHIFT_ALT[1]= {
73706f2543Smrg    { 0,      1, {       ShiftMask,       ShiftMask,    vmod_AltMask } }
74706f2543Smrg};
75706f2543Smrgstatic Atom lnames_SHIFT_ALT[2];
76706f2543Smrg
77706f2543Smrgstatic XkbKeyTypeRec dflt_types[]= {
78706f2543Smrg    {
79706f2543Smrg	{               0,               0,               0 },
80706f2543Smrg	1,
81706f2543Smrg	0,	NULL,	NULL,
82706f2543Smrg	None,	lnames_ONE_LEVEL
83706f2543Smrg    },
84706f2543Smrg    {
85706f2543Smrg	{       ShiftMask,       ShiftMask,               0 },
86706f2543Smrg	2,
87706f2543Smrg	1,	map_TWO_LEVEL,	NULL,
88706f2543Smrg	None,	lnames_TWO_LEVEL
89706f2543Smrg    },
90706f2543Smrg    {
91706f2543Smrg	{ ShiftMask|LockMask, ShiftMask|LockMask,               0 },
92706f2543Smrg	2,
93706f2543Smrg	2,	map_ALPHABETIC,	preserve_ALPHABETIC,
94706f2543Smrg	None,	lnames_ALPHABETIC
95706f2543Smrg    },
96706f2543Smrg    {
97706f2543Smrg	{       ShiftMask,       ShiftMask, vmod_NumLockMask },
98706f2543Smrg	2,
99706f2543Smrg	2,	map_KEYPAD,	NULL,
100706f2543Smrg	None,	lnames_KEYPAD
101706f2543Smrg    },
102706f2543Smrg    {
103706f2543Smrg	{     ControlMask,     ControlMask,               0 },
104706f2543Smrg	2,
105706f2543Smrg	1,	map_PC_BREAK,	NULL,
106706f2543Smrg	None,	lnames_PC_BREAK
107706f2543Smrg    },
108706f2543Smrg    {
109706f2543Smrg	{               0,               0,    vmod_AltMask },
110706f2543Smrg	2,
111706f2543Smrg	1,	map_PC_SYSRQ,	NULL,
112706f2543Smrg	None,	lnames_PC_SYSRQ
113706f2543Smrg    },
114706f2543Smrg    {
115706f2543Smrg	{     ControlMask,     ControlMask,    vmod_AltMask },
116706f2543Smrg	2,
117706f2543Smrg	1,	map_CTRL_ALT,	NULL,
118706f2543Smrg	None,	lnames_CTRL_ALT
119706f2543Smrg    },
120706f2543Smrg    {
121706f2543Smrg	{       ShiftMask,       ShiftMask, vmod_LevelThreeMask },
122706f2543Smrg	3,
123706f2543Smrg	3,	map_THREE_LEVEL,	NULL,
124706f2543Smrg	None,	lnames_THREE_LEVEL
125706f2543Smrg    },
126706f2543Smrg    {
127706f2543Smrg	{       ShiftMask,       ShiftMask,    vmod_AltMask },
128706f2543Smrg	2,
129706f2543Smrg	1,	map_SHIFT_ALT,	NULL,
130706f2543Smrg	None,	lnames_SHIFT_ALT
131706f2543Smrg    }
132706f2543Smrg};
133706f2543Smrg#define num_dflt_types (sizeof(dflt_types)/sizeof(XkbKeyTypeRec))
134706f2543Smrg
135706f2543Smrg
136706f2543Smrgstatic void
137706f2543SmrginitTypeNames(DPYTYPE dpy)
138706f2543Smrg{
139706f2543Smrg    dflt_types[0].name= GET_ATOM(dpy,"ONE_LEVEL");
140706f2543Smrg    lnames_ONE_LEVEL[0]=	GET_ATOM(dpy,"Any");
141706f2543Smrg    dflt_types[1].name= GET_ATOM(dpy,"TWO_LEVEL");
142706f2543Smrg    lnames_TWO_LEVEL[0]=	GET_ATOM(dpy,"Base");
143706f2543Smrg    lnames_TWO_LEVEL[1]=	GET_ATOM(dpy,"Shift");
144706f2543Smrg    dflt_types[2].name= GET_ATOM(dpy,"ALPHABETIC");
145706f2543Smrg    lnames_ALPHABETIC[0]=	GET_ATOM(dpy,"Base");
146706f2543Smrg    lnames_ALPHABETIC[1]=	GET_ATOM(dpy,"Caps");
147706f2543Smrg    dflt_types[3].name= GET_ATOM(dpy,"KEYPAD");
148706f2543Smrg    lnames_KEYPAD[0]=	GET_ATOM(dpy,"Base");
149706f2543Smrg    lnames_KEYPAD[1]=	GET_ATOM(dpy,"Number");
150706f2543Smrg    dflt_types[4].name= GET_ATOM(dpy,"PC_BREAK");
151706f2543Smrg    lnames_PC_BREAK[0]=	GET_ATOM(dpy,"Base");
152706f2543Smrg    lnames_PC_BREAK[1]=	GET_ATOM(dpy,"Control");
153706f2543Smrg    dflt_types[5].name= GET_ATOM(dpy,"PC_SYSRQ");
154706f2543Smrg    lnames_PC_SYSRQ[0]=	GET_ATOM(dpy,"Base");
155706f2543Smrg    lnames_PC_SYSRQ[1]=	GET_ATOM(dpy,"Alt");
156706f2543Smrg    dflt_types[6].name= GET_ATOM(dpy,"CTRL+ALT");
157706f2543Smrg    lnames_CTRL_ALT[0]=	GET_ATOM(dpy,"Base");
158706f2543Smrg    lnames_CTRL_ALT[1]=	GET_ATOM(dpy,"Ctrl+Alt");
159706f2543Smrg    dflt_types[7].name= GET_ATOM(dpy,"THREE_LEVEL");
160706f2543Smrg    lnames_THREE_LEVEL[0]=	GET_ATOM(dpy,"Base");
161706f2543Smrg    lnames_THREE_LEVEL[1]=	GET_ATOM(dpy,"Shift");
162706f2543Smrg    lnames_THREE_LEVEL[2]=	GET_ATOM(dpy,"Level3");
163706f2543Smrg    dflt_types[8].name= GET_ATOM(dpy,"SHIFT+ALT");
164706f2543Smrg    lnames_SHIFT_ALT[0]=	GET_ATOM(dpy,"Base");
165706f2543Smrg    lnames_SHIFT_ALT[1]=	GET_ATOM(dpy,"Shift+Alt");
166706f2543Smrg}
167706f2543Smrg/* compat name is "default" */
168706f2543Smrgstatic XkbSymInterpretRec dfltSI[69]= {
169706f2543Smrg    {    XK_ISO_Level2_Latch, 0x0000,
170706f2543Smrg         XkbSI_LevelOneOnly|XkbSI_Exactly, ShiftMask,
171706f2543Smrg         255,
172706f2543Smrg       {      XkbSA_LatchMods, { 0x03, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
173706f2543Smrg    {    XK_Eisu_Shift, 0x0000,
174706f2543Smrg         XkbSI_Exactly, LockMask,
175706f2543Smrg         255,
176706f2543Smrg       {       XkbSA_NoAction, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
177706f2543Smrg    {    XK_Eisu_toggle, 0x0000,
178706f2543Smrg         XkbSI_Exactly, LockMask,
179706f2543Smrg         255,
180706f2543Smrg       {       XkbSA_NoAction, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
181706f2543Smrg    {    XK_Kana_Shift, 0x0000,
182706f2543Smrg         XkbSI_Exactly, LockMask,
183706f2543Smrg         255,
184706f2543Smrg       {       XkbSA_NoAction, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
185706f2543Smrg    {    XK_Kana_Lock, 0x0000,
186706f2543Smrg         XkbSI_Exactly, LockMask,
187706f2543Smrg         255,
188706f2543Smrg       {       XkbSA_NoAction, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
189706f2543Smrg    {    XK_Shift_Lock, 0x0000,
190706f2543Smrg         XkbSI_AnyOf, ShiftMask|LockMask,
191706f2543Smrg         255,
192706f2543Smrg       {       XkbSA_LockMods, { 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
193706f2543Smrg    {    XK_Num_Lock, 0x0000,
194706f2543Smrg         XkbSI_AnyOf, 0xff,
195706f2543Smrg         0,
196706f2543Smrg       {       XkbSA_LockMods, { 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00 } } },
197706f2543Smrg    {    XK_Alt_L, 0x0000,
198706f2543Smrg         XkbSI_AnyOf, 0xff,
199706f2543Smrg         1,
200706f2543Smrg       {        XkbSA_SetMods, { 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
201706f2543Smrg    {    XK_Alt_R, 0x0000,
202706f2543Smrg         XkbSI_AnyOf, 0xff,
203706f2543Smrg         1,
204706f2543Smrg       {        XkbSA_SetMods, { 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
205706f2543Smrg    {    XK_Scroll_Lock, 0x0000,
206706f2543Smrg         XkbSI_AnyOf, 0xff,
207706f2543Smrg         4,
208706f2543Smrg       {       XkbSA_LockMods, { 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
209706f2543Smrg    {    XK_ISO_Lock, 0x0000,
210706f2543Smrg         XkbSI_AnyOf, 0xff,
211706f2543Smrg         255,
212706f2543Smrg       {        XkbSA_ISOLock, { 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
213706f2543Smrg    {    XK_ISO_Level3_Shift, 0x0000,
214706f2543Smrg         XkbSI_LevelOneOnly|XkbSI_AnyOf, 0xff,
215706f2543Smrg         2,
216706f2543Smrg       {        XkbSA_SetMods, { 0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00 } } },
217706f2543Smrg    {    XK_ISO_Level3_Latch, 0x0000,
218706f2543Smrg         XkbSI_LevelOneOnly|XkbSI_AnyOf, 0xff,
219706f2543Smrg         2,
220706f2543Smrg       {      XkbSA_LatchMods, { 0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00 } } },
221706f2543Smrg    {    XK_Mode_switch, 0x0000,
222706f2543Smrg         XkbSI_LevelOneOnly|XkbSI_AnyOfOrNone, 0xff,
223706f2543Smrg         3,
224706f2543Smrg       {       XkbSA_SetGroup, { 0x05, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
225706f2543Smrg    {    XK_KP_1, 0x0001,
226706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
227706f2543Smrg         255,
228706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0xff, 0xff, 0x00, 0x01, 0x00, 0x00 } } },
229706f2543Smrg    {    XK_KP_End, 0x0001,
230706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
231706f2543Smrg         255,
232706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0xff, 0xff, 0x00, 0x01, 0x00, 0x00 } } },
233706f2543Smrg    {    XK_KP_2, 0x0001,
234706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
235706f2543Smrg         255,
236706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00 } } },
237706f2543Smrg    {    XK_KP_Down, 0x0001,
238706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
239706f2543Smrg         255,
240706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00 } } },
241706f2543Smrg    {    XK_KP_3, 0x0001,
242706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
243706f2543Smrg         255,
244706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00 } } },
245706f2543Smrg    {    XK_KP_Next, 0x0001,
246706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
247706f2543Smrg         255,
248706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00 } } },
249706f2543Smrg    {    XK_KP_4, 0x0001,
250706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
251706f2543Smrg         255,
252706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 } } },
253706f2543Smrg    {    XK_KP_Left, 0x0001,
254706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
255706f2543Smrg         255,
256706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00 } } },
257706f2543Smrg    {    XK_KP_6, 0x0001,
258706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
259706f2543Smrg         255,
260706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
261706f2543Smrg    {    XK_KP_Right, 0x0001,
262706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
263706f2543Smrg         255,
264706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
265706f2543Smrg    {    XK_KP_7, 0x0001,
266706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
267706f2543Smrg         255,
268706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00 } } },
269706f2543Smrg    {    XK_KP_Home, 0x0001,
270706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
271706f2543Smrg         255,
272706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00 } } },
273706f2543Smrg    {    XK_KP_8, 0x0001,
274706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
275706f2543Smrg         255,
276706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00 } } },
277706f2543Smrg    {    XK_KP_Up, 0x0001,
278706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
279706f2543Smrg         255,
280706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00 } } },
281706f2543Smrg    {    XK_KP_9, 0x0001,
282706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
283706f2543Smrg         255,
284706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00 } } },
285706f2543Smrg    {    XK_KP_Prior, 0x0001,
286706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
287706f2543Smrg         255,
288706f2543Smrg       {        XkbSA_MovePtr, { 0x00, 0x00, 0x01, 0xff, 0xff, 0x00, 0x00 } } },
289706f2543Smrg    {    XK_KP_5, 0x0001,
290706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
291706f2543Smrg         255,
292706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
293706f2543Smrg    {    XK_KP_Begin, 0x0001,
294706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
295706f2543Smrg         255,
296706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
297706f2543Smrg    {    XK_KP_F1, 0x0001,
298706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
299706f2543Smrg         255,
300706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x04, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
301706f2543Smrg    {    XK_KP_Divide, 0x0001,
302706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
303706f2543Smrg         255,
304706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x04, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
305706f2543Smrg    {    XK_KP_F2, 0x0001,
306706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
307706f2543Smrg         255,
308706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x04, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00 } } },
309706f2543Smrg    {    XK_KP_Multiply, 0x0001,
310706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
311706f2543Smrg         255,
312706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x04, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00 } } },
313706f2543Smrg    {    XK_KP_F3, 0x0001,
314706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
315706f2543Smrg         255,
316706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x04, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00 } } },
317706f2543Smrg    {    XK_KP_Subtract, 0x0001,
318706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
319706f2543Smrg         255,
320706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x04, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00 } } },
321706f2543Smrg    {    XK_KP_Separator, 0x0001,
322706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
323706f2543Smrg         255,
324706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
325706f2543Smrg    {    XK_KP_Add, 0x0001,
326706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
327706f2543Smrg         255,
328706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
329706f2543Smrg    {    XK_KP_0, 0x0001,
330706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
331706f2543Smrg         255,
332706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
333706f2543Smrg    {    XK_KP_Insert, 0x0001,
334706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
335706f2543Smrg         255,
336706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
337706f2543Smrg    {    XK_KP_Decimal, 0x0001,
338706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
339706f2543Smrg         255,
340706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
341706f2543Smrg    {    XK_KP_Delete, 0x0001,
342706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
343706f2543Smrg         255,
344706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
345706f2543Smrg    {    XK_Pointer_Button_Dflt, 0x0000,
346706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
347706f2543Smrg         255,
348706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
349706f2543Smrg    {    XK_Pointer_Button1, 0x0000,
350706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
351706f2543Smrg         255,
352706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
353706f2543Smrg    {    XK_Pointer_Button2, 0x0000,
354706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
355706f2543Smrg         255,
356706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00 } } },
357706f2543Smrg    {    XK_Pointer_Button3, 0x0000,
358706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
359706f2543Smrg         255,
360706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00 } } },
361706f2543Smrg    {    XK_Pointer_DblClick_Dflt, 0x0000,
362706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
363706f2543Smrg         255,
364706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
365706f2543Smrg    {    XK_Pointer_DblClick1, 0x0000,
366706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
367706f2543Smrg         255,
368706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
369706f2543Smrg    {    XK_Pointer_DblClick2, 0x0000,
370706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
371706f2543Smrg         255,
372706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00 } } },
373706f2543Smrg    {    XK_Pointer_DblClick3, 0x0000,
374706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
375706f2543Smrg         255,
376706f2543Smrg       {         XkbSA_PtrBtn, { 0x00, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00 } } },
377706f2543Smrg    {    XK_Pointer_Drag_Dflt, 0x0000,
378706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
379706f2543Smrg         255,
380706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
381706f2543Smrg    {    XK_Pointer_Drag1, 0x0000,
382706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
383706f2543Smrg         255,
384706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
385706f2543Smrg    {    XK_Pointer_Drag2, 0x0000,
386706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
387706f2543Smrg         255,
388706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00 } } },
389706f2543Smrg    {    XK_Pointer_Drag3, 0x0000,
390706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
391706f2543Smrg         255,
392706f2543Smrg       {     XkbSA_LockPtrBtn, { 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00 } } },
393706f2543Smrg    {    XK_Pointer_EnableKeys, 0x0000,
394706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
395706f2543Smrg         255,
396706f2543Smrg       {   XkbSA_LockControls, { 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00 } } },
397706f2543Smrg    {    XK_Pointer_Accelerate, 0x0000,
398706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
399706f2543Smrg         255,
400706f2543Smrg       {   XkbSA_LockControls, { 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00 } } },
401706f2543Smrg    {    XK_Pointer_DfltBtnNext, 0x0000,
402706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
403706f2543Smrg         255,
404706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00 } } },
405706f2543Smrg    {    XK_Pointer_DfltBtnPrev, 0x0000,
406706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
407706f2543Smrg         255,
408706f2543Smrg       {     XkbSA_SetPtrDflt, { 0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x00 } } },
409706f2543Smrg    {    XK_AccessX_Enable, 0x0000,
410706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
411706f2543Smrg         255,
412706f2543Smrg       {   XkbSA_LockControls, { 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00 } } },
413706f2543Smrg    {    XK_Terminate_Server, 0x0000,
414706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
415706f2543Smrg         255,
416706f2543Smrg       {      XkbSA_Terminate, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
417706f2543Smrg    {    XK_ISO_Group_Latch, 0x0000,
418706f2543Smrg         XkbSI_LevelOneOnly|XkbSI_AnyOfOrNone, 0xff,
419706f2543Smrg         3,
420706f2543Smrg       {     XkbSA_LatchGroup, { 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
421706f2543Smrg    {    XK_ISO_Next_Group, 0x0000,
422706f2543Smrg         XkbSI_LevelOneOnly|XkbSI_AnyOfOrNone, 0xff,
423706f2543Smrg         3,
424706f2543Smrg       {      XkbSA_LockGroup, { 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
425706f2543Smrg    {    XK_ISO_Prev_Group, 0x0000,
426706f2543Smrg         XkbSI_LevelOneOnly|XkbSI_AnyOfOrNone, 0xff,
427706f2543Smrg         3,
428706f2543Smrg       {      XkbSA_LockGroup, { 0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
429706f2543Smrg    {    XK_ISO_First_Group, 0x0000,
430706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
431706f2543Smrg         255,
432706f2543Smrg       {      XkbSA_LockGroup, { 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
433706f2543Smrg    {    XK_ISO_Last_Group, 0x0000,
434706f2543Smrg         XkbSI_AnyOfOrNone, 0xff,
435706f2543Smrg         255,
436706f2543Smrg       {      XkbSA_LockGroup, { 0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 } } },
437706f2543Smrg    {    NoSymbol, 0x0000,
438706f2543Smrg         XkbSI_Exactly, LockMask,
439706f2543Smrg         255,
440706f2543Smrg       {       XkbSA_LockMods, { 0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00 } } },
441706f2543Smrg    {    NoSymbol, 0x0000,
442706f2543Smrg         XkbSI_AnyOf, 0xff,
443706f2543Smrg         255,
444706f2543Smrg       {        XkbSA_SetMods, { 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } } }
445706f2543Smrg};
446706f2543Smrg#define num_dfltSI (sizeof(dfltSI)/sizeof(XkbSymInterpretRec))
447706f2543Smrg
448706f2543Smrgstatic XkbCompatMapRec compatMap= {
449706f2543Smrg    dfltSI,
450706f2543Smrg    {   /* group compatibility */
451706f2543Smrg        {            0,            0,            0 },
452706f2543Smrg        {            0,            0, vmod_AltGrMask },
453706f2543Smrg        {            0,            0, vmod_AltGrMask },
454706f2543Smrg        {            0,            0, vmod_AltGrMask }
455706f2543Smrg    },
456706f2543Smrg    num_dfltSI, num_dfltSI
457706f2543Smrg};
458706f2543Smrg
459706f2543Smrgstatic void
460706f2543SmrginitIndicatorNames(DPYTYPE dpy,XkbDescPtr xkb)
461706f2543Smrg{
462706f2543Smrg    xkb->names->indicators[ 0]=	GET_ATOM(dpy,"Caps Lock");
463706f2543Smrg    xkb->names->indicators[ 1]=	GET_ATOM(dpy,"Num Lock");
464706f2543Smrg    xkb->names->indicators[ 2]=	GET_ATOM(dpy,"Shift Lock");
465706f2543Smrg    xkb->names->indicators[ 3]=	GET_ATOM(dpy,"Mouse Keys");
466706f2543Smrg    xkb->names->indicators[ 4]=	GET_ATOM(dpy,"Scroll Lock");
467706f2543Smrg    xkb->names->indicators[ 5]=	GET_ATOM(dpy,"Group 2");
468706f2543Smrg}
469706f2543Smrg#endif /* DEFAULT_H */
470