105b261ecSmrg/* This file generated automatically by xkbcomp */ 205b261ecSmrg/* DO NOT EDIT */ 305b261ecSmrg#ifdef HAVE_DIX_CONFIG_H 405b261ecSmrg#include <dix-config.h> 505b261ecSmrg#endif 605b261ecSmrg 705b261ecSmrg#ifndef DEFAULT_H 805b261ecSmrg#define DEFAULT_H 1 905b261ecSmrg 1005b261ecSmrg#define GET_ATOM(d,s) MakeAtom(s,strlen(s),1) 1105b261ecSmrg#define DPYTYPE char * 1205b261ecSmrg#define NUM_KEYS 1 1305b261ecSmrg 1405b261ecSmrg#define vmod_NumLock 0 1505b261ecSmrg#define vmod_Alt 1 1605b261ecSmrg#define vmod_LevelThree 2 1705b261ecSmrg#define vmod_AltGr 3 1805b261ecSmrg#define vmod_ScrollLock 4 1905b261ecSmrg 2005b261ecSmrg#define vmod_NumLockMask (1<<0) 2105b261ecSmrg#define vmod_AltMask (1<<1) 2205b261ecSmrg#define vmod_LevelThreeMask (1<<2) 2305b261ecSmrg#define vmod_AltGrMask (1<<3) 2405b261ecSmrg#define vmod_ScrollLockMask (1<<4) 2505b261ecSmrg 2605b261ecSmrg/* types name is "default" */ 2705b261ecSmrgstatic Atom lnames_ONE_LEVEL[1]; 2805b261ecSmrg 2935c4bbdfSmrgstatic XkbKTMapEntryRec map_TWO_LEVEL[1] = { 3035c4bbdfSmrg {1, 1, {ShiftMask, ShiftMask, 0}} 3105b261ecSmrg}; 3235c4bbdfSmrg 3305b261ecSmrgstatic Atom lnames_TWO_LEVEL[2]; 3405b261ecSmrg 3535c4bbdfSmrgstatic XkbKTMapEntryRec map_ALPHABETIC[2] = { 3635c4bbdfSmrg {1, 1, {ShiftMask, ShiftMask, 0}}, 3735c4bbdfSmrg {1, 0, {LockMask, LockMask, 0}} 3805b261ecSmrg}; 3935c4bbdfSmrg 4035c4bbdfSmrgstatic XkbModsRec preserve_ALPHABETIC[2] = { 4135c4bbdfSmrg {0, 0, 0}, 4235c4bbdfSmrg {LockMask, LockMask, 0} 4305b261ecSmrg}; 4435c4bbdfSmrg 4505b261ecSmrgstatic Atom lnames_ALPHABETIC[2]; 4605b261ecSmrg 4735c4bbdfSmrgstatic XkbKTMapEntryRec map_KEYPAD[2] = { 4835c4bbdfSmrg {1, 1, {ShiftMask, ShiftMask, 0}}, 4935c4bbdfSmrg {0, 1, {0, 0, vmod_NumLockMask}} 5005b261ecSmrg}; 5135c4bbdfSmrg 5205b261ecSmrgstatic Atom lnames_KEYPAD[2]; 5305b261ecSmrg 5435c4bbdfSmrgstatic XkbKTMapEntryRec map_PC_BREAK[1] = { 5535c4bbdfSmrg {1, 1, {ControlMask, ControlMask, 0}} 5605b261ecSmrg}; 5735c4bbdfSmrg 5805b261ecSmrgstatic Atom lnames_PC_BREAK[2]; 5905b261ecSmrg 6035c4bbdfSmrgstatic XkbKTMapEntryRec map_PC_SYSRQ[1] = { 6135c4bbdfSmrg {0, 1, {0, 0, vmod_AltMask}} 6205b261ecSmrg}; 6335c4bbdfSmrg 6405b261ecSmrgstatic Atom lnames_PC_SYSRQ[2]; 6505b261ecSmrg 6635c4bbdfSmrgstatic XkbKTMapEntryRec map_CTRL_ALT[1] = { 6735c4bbdfSmrg {0, 1, {ControlMask, ControlMask, vmod_AltMask}} 6805b261ecSmrg}; 6935c4bbdfSmrg 7005b261ecSmrgstatic Atom lnames_CTRL_ALT[2]; 7105b261ecSmrg 7235c4bbdfSmrgstatic XkbKTMapEntryRec map_THREE_LEVEL[3] = { 7335c4bbdfSmrg {1, 1, {ShiftMask, ShiftMask, 0}}, 7435c4bbdfSmrg {0, 2, {0, 0, vmod_LevelThreeMask}}, 7535c4bbdfSmrg {0, 2, {ShiftMask, ShiftMask, vmod_LevelThreeMask}} 7605b261ecSmrg}; 7735c4bbdfSmrg 7805b261ecSmrgstatic Atom lnames_THREE_LEVEL[3]; 7905b261ecSmrg 8035c4bbdfSmrgstatic XkbKTMapEntryRec map_SHIFT_ALT[1] = { 8135c4bbdfSmrg {0, 1, {ShiftMask, ShiftMask, vmod_AltMask}} 8205b261ecSmrg}; 8335c4bbdfSmrg 8405b261ecSmrgstatic Atom lnames_SHIFT_ALT[2]; 8505b261ecSmrg 8635c4bbdfSmrgstatic XkbKeyTypeRec dflt_types[] = { 8705b261ecSmrg { 8835c4bbdfSmrg {0, 0, 0}, 8935c4bbdfSmrg 1, 9035c4bbdfSmrg 0, NULL, NULL, 9135c4bbdfSmrg None, lnames_ONE_LEVEL}, 9205b261ecSmrg { 9335c4bbdfSmrg {ShiftMask, ShiftMask, 0}, 9435c4bbdfSmrg 2, 9535c4bbdfSmrg 1, map_TWO_LEVEL, NULL, 9635c4bbdfSmrg None, lnames_TWO_LEVEL}, 9705b261ecSmrg { 9835c4bbdfSmrg {ShiftMask | LockMask, ShiftMask | LockMask, 0}, 9935c4bbdfSmrg 2, 10035c4bbdfSmrg 2, map_ALPHABETIC, preserve_ALPHABETIC, 10135c4bbdfSmrg None, lnames_ALPHABETIC}, 10205b261ecSmrg { 10335c4bbdfSmrg {ShiftMask, ShiftMask, vmod_NumLockMask}, 10435c4bbdfSmrg 2, 10535c4bbdfSmrg 2, map_KEYPAD, NULL, 10635c4bbdfSmrg None, lnames_KEYPAD}, 10705b261ecSmrg { 10835c4bbdfSmrg {ControlMask, ControlMask, 0}, 10935c4bbdfSmrg 2, 11035c4bbdfSmrg 1, map_PC_BREAK, NULL, 11135c4bbdfSmrg None, lnames_PC_BREAK}, 11205b261ecSmrg { 11335c4bbdfSmrg {0, 0, vmod_AltMask}, 11435c4bbdfSmrg 2, 11535c4bbdfSmrg 1, map_PC_SYSRQ, NULL, 11635c4bbdfSmrg None, lnames_PC_SYSRQ}, 11705b261ecSmrg { 11835c4bbdfSmrg {ControlMask, ControlMask, vmod_AltMask}, 11935c4bbdfSmrg 2, 12035c4bbdfSmrg 1, map_CTRL_ALT, NULL, 12135c4bbdfSmrg None, lnames_CTRL_ALT}, 12205b261ecSmrg { 12335c4bbdfSmrg {ShiftMask, ShiftMask, vmod_LevelThreeMask}, 12435c4bbdfSmrg 3, 12535c4bbdfSmrg 3, map_THREE_LEVEL, NULL, 12635c4bbdfSmrg None, lnames_THREE_LEVEL}, 12705b261ecSmrg { 12835c4bbdfSmrg {ShiftMask, ShiftMask, vmod_AltMask}, 12935c4bbdfSmrg 2, 13035c4bbdfSmrg 1, map_SHIFT_ALT, NULL, 13135c4bbdfSmrg None, lnames_SHIFT_ALT} 13205b261ecSmrg}; 13305b261ecSmrg 1341b5d61b8Smrg#define num_dflt_types ARRAY_SIZE(dflt_types) 13505b261ecSmrg 13605b261ecSmrgstatic void 13705b261ecSmrginitTypeNames(DPYTYPE dpy) 13805b261ecSmrg{ 13935c4bbdfSmrg dflt_types[0].name = GET_ATOM(dpy, "ONE_LEVEL"); 14035c4bbdfSmrg lnames_ONE_LEVEL[0] = GET_ATOM(dpy, "Any"); 14135c4bbdfSmrg dflt_types[1].name = GET_ATOM(dpy, "TWO_LEVEL"); 14235c4bbdfSmrg lnames_TWO_LEVEL[0] = GET_ATOM(dpy, "Base"); 14335c4bbdfSmrg lnames_TWO_LEVEL[1] = GET_ATOM(dpy, "Shift"); 14435c4bbdfSmrg dflt_types[2].name = GET_ATOM(dpy, "ALPHABETIC"); 14535c4bbdfSmrg lnames_ALPHABETIC[0] = GET_ATOM(dpy, "Base"); 14635c4bbdfSmrg lnames_ALPHABETIC[1] = GET_ATOM(dpy, "Caps"); 14735c4bbdfSmrg dflt_types[3].name = GET_ATOM(dpy, "KEYPAD"); 14835c4bbdfSmrg lnames_KEYPAD[0] = GET_ATOM(dpy, "Base"); 14935c4bbdfSmrg lnames_KEYPAD[1] = GET_ATOM(dpy, "Number"); 15035c4bbdfSmrg dflt_types[4].name = GET_ATOM(dpy, "PC_BREAK"); 15135c4bbdfSmrg lnames_PC_BREAK[0] = GET_ATOM(dpy, "Base"); 15235c4bbdfSmrg lnames_PC_BREAK[1] = GET_ATOM(dpy, "Control"); 15335c4bbdfSmrg dflt_types[5].name = GET_ATOM(dpy, "PC_SYSRQ"); 15435c4bbdfSmrg lnames_PC_SYSRQ[0] = GET_ATOM(dpy, "Base"); 15535c4bbdfSmrg lnames_PC_SYSRQ[1] = GET_ATOM(dpy, "Alt"); 15635c4bbdfSmrg dflt_types[6].name = GET_ATOM(dpy, "CTRL+ALT"); 15735c4bbdfSmrg lnames_CTRL_ALT[0] = GET_ATOM(dpy, "Base"); 15835c4bbdfSmrg lnames_CTRL_ALT[1] = GET_ATOM(dpy, "Ctrl+Alt"); 15935c4bbdfSmrg dflt_types[7].name = GET_ATOM(dpy, "THREE_LEVEL"); 16035c4bbdfSmrg lnames_THREE_LEVEL[0] = GET_ATOM(dpy, "Base"); 16135c4bbdfSmrg lnames_THREE_LEVEL[1] = GET_ATOM(dpy, "Shift"); 16235c4bbdfSmrg lnames_THREE_LEVEL[2] = GET_ATOM(dpy, "Level3"); 16335c4bbdfSmrg dflt_types[8].name = GET_ATOM(dpy, "SHIFT+ALT"); 16435c4bbdfSmrg lnames_SHIFT_ALT[0] = GET_ATOM(dpy, "Base"); 16535c4bbdfSmrg lnames_SHIFT_ALT[1] = GET_ATOM(dpy, "Shift+Alt"); 16605b261ecSmrg} 16735c4bbdfSmrg 16805b261ecSmrg/* compat name is "default" */ 16935c4bbdfSmrgstatic XkbSymInterpretRec dfltSI[69] = { 17035c4bbdfSmrg {XK_ISO_Level2_Latch, 0x0000, 17135c4bbdfSmrg XkbSI_LevelOneOnly | XkbSI_Exactly, ShiftMask, 17235c4bbdfSmrg 255, 17335c4bbdfSmrg {XkbSA_LatchMods, {0x03, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 17435c4bbdfSmrg {XK_Eisu_Shift, 0x0000, 17535c4bbdfSmrg XkbSI_Exactly, LockMask, 17635c4bbdfSmrg 255, 17735c4bbdfSmrg {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 17835c4bbdfSmrg {XK_Eisu_toggle, 0x0000, 17935c4bbdfSmrg XkbSI_Exactly, LockMask, 18035c4bbdfSmrg 255, 18135c4bbdfSmrg {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 18235c4bbdfSmrg {XK_Kana_Shift, 0x0000, 18335c4bbdfSmrg XkbSI_Exactly, LockMask, 18435c4bbdfSmrg 255, 18535c4bbdfSmrg {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 18635c4bbdfSmrg {XK_Kana_Lock, 0x0000, 18735c4bbdfSmrg XkbSI_Exactly, LockMask, 18835c4bbdfSmrg 255, 18935c4bbdfSmrg {XkbSA_NoAction, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 19035c4bbdfSmrg {XK_Shift_Lock, 0x0000, 19135c4bbdfSmrg XkbSI_AnyOf, ShiftMask | LockMask, 19235c4bbdfSmrg 255, 19335c4bbdfSmrg {XkbSA_LockMods, {0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 19435c4bbdfSmrg {XK_Num_Lock, 0x0000, 19535c4bbdfSmrg XkbSI_AnyOf, 0xff, 19635c4bbdfSmrg 0, 19735c4bbdfSmrg {XkbSA_LockMods, {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00}}}, 19835c4bbdfSmrg {XK_Alt_L, 0x0000, 19935c4bbdfSmrg XkbSI_AnyOf, 0xff, 20035c4bbdfSmrg 1, 20135c4bbdfSmrg {XkbSA_SetMods, {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 20235c4bbdfSmrg {XK_Alt_R, 0x0000, 20335c4bbdfSmrg XkbSI_AnyOf, 0xff, 20435c4bbdfSmrg 1, 20535c4bbdfSmrg {XkbSA_SetMods, {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 20635c4bbdfSmrg {XK_Scroll_Lock, 0x0000, 20735c4bbdfSmrg XkbSI_AnyOf, 0xff, 20835c4bbdfSmrg 4, 20935c4bbdfSmrg {XkbSA_LockMods, {0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 21035c4bbdfSmrg {XK_ISO_Lock, 0x0000, 21135c4bbdfSmrg XkbSI_AnyOf, 0xff, 21235c4bbdfSmrg 255, 21335c4bbdfSmrg {XkbSA_ISOLock, {0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 21435c4bbdfSmrg {XK_ISO_Level3_Shift, 0x0000, 21535c4bbdfSmrg XkbSI_LevelOneOnly | XkbSI_AnyOf, 0xff, 21635c4bbdfSmrg 2, 21735c4bbdfSmrg {XkbSA_SetMods, {0x01, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00}}}, 21835c4bbdfSmrg {XK_ISO_Level3_Latch, 0x0000, 21935c4bbdfSmrg XkbSI_LevelOneOnly | XkbSI_AnyOf, 0xff, 22035c4bbdfSmrg 2, 22135c4bbdfSmrg {XkbSA_LatchMods, {0x03, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00}}}, 22235c4bbdfSmrg {XK_Mode_switch, 0x0000, 22335c4bbdfSmrg XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff, 22435c4bbdfSmrg 3, 22535c4bbdfSmrg {XkbSA_SetGroup, {0x05, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 22635c4bbdfSmrg {XK_KP_1, 0x0001, 22735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 22835c4bbdfSmrg 255, 22935c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x01, 0x00, 0x00}}}, 23035c4bbdfSmrg {XK_KP_End, 0x0001, 23135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 23235c4bbdfSmrg 255, 23335c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x01, 0x00, 0x00}}}, 23435c4bbdfSmrg {XK_KP_2, 0x0001, 23535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 23635c4bbdfSmrg 255, 23735c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00}}}, 23835c4bbdfSmrg {XK_KP_Down, 0x0001, 23935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 24035c4bbdfSmrg 255, 24135c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00}}}, 24235c4bbdfSmrg {XK_KP_3, 0x0001, 24335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 24435c4bbdfSmrg 255, 24535c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00}}}, 24635c4bbdfSmrg {XK_KP_Next, 0x0001, 24735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 24835c4bbdfSmrg 255, 24935c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00}}}, 25035c4bbdfSmrg {XK_KP_4, 0x0001, 25135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 25235c4bbdfSmrg 255, 25335c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00}}}, 25435c4bbdfSmrg {XK_KP_Left, 0x0001, 25535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 25635c4bbdfSmrg 255, 25735c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00}}}, 25835c4bbdfSmrg {XK_KP_6, 0x0001, 25935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 26035c4bbdfSmrg 255, 26135c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 26235c4bbdfSmrg {XK_KP_Right, 0x0001, 26335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 26435c4bbdfSmrg 255, 26535c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 26635c4bbdfSmrg {XK_KP_7, 0x0001, 26735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 26835c4bbdfSmrg 255, 26935c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00}}}, 27035c4bbdfSmrg {XK_KP_Home, 0x0001, 27135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 27235c4bbdfSmrg 255, 27335c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00}}}, 27435c4bbdfSmrg {XK_KP_8, 0x0001, 27535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 27635c4bbdfSmrg 255, 27735c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00}}}, 27835c4bbdfSmrg {XK_KP_Up, 0x0001, 27935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 28035c4bbdfSmrg 255, 28135c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00}}}, 28235c4bbdfSmrg {XK_KP_9, 0x0001, 28335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 28435c4bbdfSmrg 255, 28535c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00}}}, 28635c4bbdfSmrg {XK_KP_Prior, 0x0001, 28735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 28835c4bbdfSmrg 255, 28935c4bbdfSmrg {XkbSA_MovePtr, {0x00, 0x00, 0x01, 0xff, 0xff, 0x00, 0x00}}}, 29035c4bbdfSmrg {XK_KP_5, 0x0001, 29135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 29235c4bbdfSmrg 255, 29335c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 29435c4bbdfSmrg {XK_KP_Begin, 0x0001, 29535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 29635c4bbdfSmrg 255, 29735c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 29835c4bbdfSmrg {XK_KP_F1, 0x0001, 29935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 30035c4bbdfSmrg 255, 30135c4bbdfSmrg {XkbSA_SetPtrDflt, {0x04, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 30235c4bbdfSmrg {XK_KP_Divide, 0x0001, 30335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 30435c4bbdfSmrg 255, 30535c4bbdfSmrg {XkbSA_SetPtrDflt, {0x04, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 30635c4bbdfSmrg {XK_KP_F2, 0x0001, 30735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 30835c4bbdfSmrg 255, 30935c4bbdfSmrg {XkbSA_SetPtrDflt, {0x04, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00}}}, 31035c4bbdfSmrg {XK_KP_Multiply, 0x0001, 31135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 31235c4bbdfSmrg 255, 31335c4bbdfSmrg {XkbSA_SetPtrDflt, {0x04, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00}}}, 31435c4bbdfSmrg {XK_KP_F3, 0x0001, 31535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 31635c4bbdfSmrg 255, 31735c4bbdfSmrg {XkbSA_SetPtrDflt, {0x04, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00}}}, 31835c4bbdfSmrg {XK_KP_Subtract, 0x0001, 31935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 32035c4bbdfSmrg 255, 32135c4bbdfSmrg {XkbSA_SetPtrDflt, {0x04, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00}}}, 32235c4bbdfSmrg {XK_KP_Separator, 0x0001, 32335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 32435c4bbdfSmrg 255, 32535c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 32635c4bbdfSmrg {XK_KP_Add, 0x0001, 32735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 32835c4bbdfSmrg 255, 32935c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 33035c4bbdfSmrg {XK_KP_0, 0x0001, 33135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 33235c4bbdfSmrg 255, 33335c4bbdfSmrg {XkbSA_LockPtrBtn, {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 33435c4bbdfSmrg {XK_KP_Insert, 0x0001, 33535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 33635c4bbdfSmrg 255, 33735c4bbdfSmrg {XkbSA_LockPtrBtn, {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 33835c4bbdfSmrg {XK_KP_Decimal, 0x0001, 33935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 34035c4bbdfSmrg 255, 34135c4bbdfSmrg {XkbSA_LockPtrBtn, {0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 34235c4bbdfSmrg {XK_KP_Delete, 0x0001, 34335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 34435c4bbdfSmrg 255, 34535c4bbdfSmrg {XkbSA_LockPtrBtn, {0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 34635c4bbdfSmrg {XK_Pointer_Button_Dflt, 0x0000, 34735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 34835c4bbdfSmrg 255, 34935c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 35035c4bbdfSmrg {XK_Pointer_Button1, 0x0000, 35135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 35235c4bbdfSmrg 255, 35335c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 35435c4bbdfSmrg {XK_Pointer_Button2, 0x0000, 35535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 35635c4bbdfSmrg 255, 35735c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00}}}, 35835c4bbdfSmrg {XK_Pointer_Button3, 0x0000, 35935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 36035c4bbdfSmrg 255, 36135c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00}}}, 36235c4bbdfSmrg {XK_Pointer_DblClick_Dflt, 0x0000, 36335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 36435c4bbdfSmrg 255, 36535c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 36635c4bbdfSmrg {XK_Pointer_DblClick1, 0x0000, 36735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 36835c4bbdfSmrg 255, 36935c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 37035c4bbdfSmrg {XK_Pointer_DblClick2, 0x0000, 37135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 37235c4bbdfSmrg 255, 37335c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00}}}, 37435c4bbdfSmrg {XK_Pointer_DblClick3, 0x0000, 37535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 37635c4bbdfSmrg 255, 37735c4bbdfSmrg {XkbSA_PtrBtn, {0x00, 0x02, 0x03, 0x00, 0x00, 0x00, 0x00}}}, 37835c4bbdfSmrg {XK_Pointer_Drag_Dflt, 0x0000, 37935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 38035c4bbdfSmrg 255, 38135c4bbdfSmrg {XkbSA_LockPtrBtn, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 38235c4bbdfSmrg {XK_Pointer_Drag1, 0x0000, 38335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 38435c4bbdfSmrg 255, 38535c4bbdfSmrg {XkbSA_LockPtrBtn, {0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 38635c4bbdfSmrg {XK_Pointer_Drag2, 0x0000, 38735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 38835c4bbdfSmrg 255, 38935c4bbdfSmrg {XkbSA_LockPtrBtn, {0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00}}}, 39035c4bbdfSmrg {XK_Pointer_Drag3, 0x0000, 39135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 39235c4bbdfSmrg 255, 39335c4bbdfSmrg {XkbSA_LockPtrBtn, {0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00}}}, 39435c4bbdfSmrg {XK_Pointer_EnableKeys, 0x0000, 39535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 39635c4bbdfSmrg 255, 39735c4bbdfSmrg {XkbSA_LockControls, {0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00}}}, 39835c4bbdfSmrg {XK_Pointer_Accelerate, 0x0000, 39935c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 40035c4bbdfSmrg 255, 40135c4bbdfSmrg {XkbSA_LockControls, {0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00}}}, 40235c4bbdfSmrg {XK_Pointer_DfltBtnNext, 0x0000, 40335c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 40435c4bbdfSmrg 255, 40535c4bbdfSmrg {XkbSA_SetPtrDflt, {0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}}}, 40635c4bbdfSmrg {XK_Pointer_DfltBtnPrev, 0x0000, 40735c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 40835c4bbdfSmrg 255, 40935c4bbdfSmrg {XkbSA_SetPtrDflt, {0x00, 0x01, 0xff, 0x00, 0x00, 0x00, 0x00}}}, 41035c4bbdfSmrg {XK_AccessX_Enable, 0x0000, 41135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 41235c4bbdfSmrg 255, 41335c4bbdfSmrg {XkbSA_LockControls, {0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00}}}, 41435c4bbdfSmrg {XK_Terminate_Server, 0x0000, 41535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 41635c4bbdfSmrg 255, 41735c4bbdfSmrg {XkbSA_Terminate, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 41835c4bbdfSmrg {XK_ISO_Group_Latch, 0x0000, 41935c4bbdfSmrg XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff, 42035c4bbdfSmrg 3, 42135c4bbdfSmrg {XkbSA_LatchGroup, {0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 42235c4bbdfSmrg {XK_ISO_Next_Group, 0x0000, 42335c4bbdfSmrg XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff, 42435c4bbdfSmrg 3, 42535c4bbdfSmrg {XkbSA_LockGroup, {0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 42635c4bbdfSmrg {XK_ISO_Prev_Group, 0x0000, 42735c4bbdfSmrg XkbSI_LevelOneOnly | XkbSI_AnyOfOrNone, 0xff, 42835c4bbdfSmrg 3, 42935c4bbdfSmrg {XkbSA_LockGroup, {0x00, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 43035c4bbdfSmrg {XK_ISO_First_Group, 0x0000, 43135c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 43235c4bbdfSmrg 255, 43335c4bbdfSmrg {XkbSA_LockGroup, {0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 43435c4bbdfSmrg {XK_ISO_Last_Group, 0x0000, 43535c4bbdfSmrg XkbSI_AnyOfOrNone, 0xff, 43635c4bbdfSmrg 255, 43735c4bbdfSmrg {XkbSA_LockGroup, {0x04, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00}}}, 43835c4bbdfSmrg {NoSymbol, 0x0000, 43935c4bbdfSmrg XkbSI_Exactly, LockMask, 44035c4bbdfSmrg 255, 44135c4bbdfSmrg {XkbSA_LockMods, {0x00, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00}}}, 44235c4bbdfSmrg {NoSymbol, 0x0000, 44335c4bbdfSmrg XkbSI_AnyOf, 0xff, 44435c4bbdfSmrg 255, 44535c4bbdfSmrg {XkbSA_SetMods, {0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}}} 44605b261ecSmrg}; 44735c4bbdfSmrg 4481b5d61b8Smrg#define num_dfltSI ARRAY_SIZE(dfltSI) 44905b261ecSmrg 45035c4bbdfSmrgstatic XkbCompatMapRec compatMap = { 45105b261ecSmrg dfltSI, 45235c4bbdfSmrg { /* group compatibility */ 45335c4bbdfSmrg {0, 0, 0}, 45435c4bbdfSmrg {0, 0, vmod_AltGrMask}, 45535c4bbdfSmrg {0, 0, vmod_AltGrMask}, 45635c4bbdfSmrg {0, 0, vmod_AltGrMask} 45735c4bbdfSmrg }, 45805b261ecSmrg num_dfltSI, num_dfltSI 45905b261ecSmrg}; 46005b261ecSmrg 46105b261ecSmrgstatic void 46235c4bbdfSmrginitIndicatorNames(DPYTYPE dpy, XkbDescPtr xkb) 46305b261ecSmrg{ 46435c4bbdfSmrg xkb->names->indicators[0] = GET_ATOM(dpy, "Caps Lock"); 46535c4bbdfSmrg xkb->names->indicators[1] = GET_ATOM(dpy, "Num Lock"); 46635c4bbdfSmrg xkb->names->indicators[2] = GET_ATOM(dpy, "Shift Lock"); 46735c4bbdfSmrg xkb->names->indicators[3] = GET_ATOM(dpy, "Mouse Keys"); 46835c4bbdfSmrg xkb->names->indicators[4] = GET_ATOM(dpy, "Scroll Lock"); 46935c4bbdfSmrg xkb->names->indicators[5] = GET_ATOM(dpy, "Group 2"); 47005b261ecSmrg} 47135c4bbdfSmrg#endif /* DEFAULT_H */ 472