summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.xkb/nec_layout.xkb2444
1 files changed, 2444 insertions, 0 deletions
diff --git a/.xkb/nec_layout.xkb b/.xkb/nec_layout.xkb
new file mode 100644
index 0000000..7d3a0bb
--- /dev/null
+++ b/.xkb/nec_layout.xkb
@@ -0,0 +1,2444 @@
+xkb_keymap {
+xkb_keycodes "evdev+aliases(qwerty)" {
+ minimum = 8;
+ maximum = 255;
+ <ESC> = 9;
+ <AE01> = 10;
+ <AE02> = 11;
+ <AE03> = 12;
+ <AE04> = 13;
+ <AE05> = 14;
+ <AE06> = 15;
+ <AE07> = 16;
+ <AE08> = 17;
+ <AE09> = 18;
+ <AE10> = 19;
+ <AE11> = 20;
+ <AE12> = 21;
+ <BKSP> = 22;
+ <TAB> = 23;
+ <AD01> = 24;
+ <AD02> = 25;
+ <AD03> = 26;
+ <AD04> = 27;
+ <AD05> = 28;
+ <AD06> = 29;
+ <AD07> = 30;
+ <AD08> = 31;
+ <AD09> = 32;
+ <AD10> = 33;
+ <AD11> = 34;
+ <AD12> = 35;
+ <RTRN> = 36;
+ <LCTL> = 37;
+ <AC01> = 38;
+ <AC02> = 39;
+ <AC03> = 40;
+ <AC04> = 41;
+ <AC05> = 42;
+ <AC06> = 43;
+ <AC07> = 44;
+ <AC08> = 45;
+ <AC09> = 46;
+ <AC10> = 47;
+ <AC11> = 48;
+ <TLDE> = 49;
+ <LFSH> = 50;
+ <BKSL> = 51;
+ <AB01> = 52;
+ <AB02> = 53;
+ <AB03> = 54;
+ <AB04> = 55;
+ <AB05> = 56;
+ <AB06> = 57;
+ <AB07> = 58;
+ <AB08> = 59;
+ <AB09> = 60;
+ <AB10> = 61;
+ <RTSH> = 62;
+ <KPMU> = 63;
+ <LALT> = 64;
+ <SPCE> = 65;
+ <CAPS> = 66;
+ <FK01> = 67;
+ <FK02> = 68;
+ <FK03> = 69;
+ <FK04> = 70;
+ <FK05> = 71;
+ <FK06> = 72;
+ <FK07> = 73;
+ <FK08> = 74;
+ <FK09> = 75;
+ <FK10> = 76;
+ <NMLK> = 77;
+ <SCLK> = 78;
+ <KP7> = 79;
+ <KP8> = 80;
+ <KP9> = 81;
+ <KPSU> = 82;
+ <KP4> = 83;
+ <KP5> = 84;
+ <KP6> = 85;
+ <KPAD> = 86;
+ <KP1> = 87;
+ <KP2> = 88;
+ <KP3> = 89;
+ <KP0> = 90;
+ <KPDL> = 91;
+ <LVL3> = 92;
+ <LSGT> = 94;
+ <FK11> = 95;
+ <FK12> = 96;
+ <AB11> = 97;
+ <KATA> = 98;
+ <HIRA> = 99;
+ <HENK> = 100;
+ <HKTG> = 101;
+ <MUHE> = 102;
+ <JPCM> = 103;
+ <KPEN> = 104;
+ <RCTL> = 105;
+ <KPDV> = 106;
+ <PRSC> = 107;
+ <RALT> = 108;
+ <LNFD> = 109;
+ <HOME> = 110;
+ <UP> = 111;
+ <PGUP> = 112;
+ <LEFT> = 113;
+ <RGHT> = 114;
+ <END> = 115;
+ <DOWN> = 116;
+ <PGDN> = 117;
+ <INS> = 118;
+ <DELE> = 119;
+ <I120> = 120;
+ <MUTE> = 121;
+ <VOL-> = 122;
+ <VOL+> = 123;
+ <POWR> = 124;
+ <KPEQ> = 125;
+ <I126> = 126;
+ <PAUS> = 127;
+ <I128> = 128;
+ <I129> = 129;
+ <HNGL> = 130;
+ <HJCV> = 131;
+ <AE13> = 132;
+ <LWIN> = 133;
+ <RWIN> = 134;
+ <COMP> = 135;
+ <STOP> = 136;
+ <AGAI> = 137;
+ <PROP> = 138;
+ <UNDO> = 139;
+ <FRNT> = 140;
+ <COPY> = 141;
+ <OPEN> = 142;
+ <PAST> = 143;
+ <FIND> = 144;
+ <CUT> = 145;
+ <HELP> = 146;
+ <I147> = 147;
+ <I148> = 148;
+ <I149> = 149;
+ <I150> = 150;
+ <I151> = 151;
+ <I152> = 152;
+ <I153> = 153;
+ <I154> = 154;
+ <I155> = 155;
+ <I156> = 156;
+ <I157> = 157;
+ <I158> = 158;
+ <I159> = 159;
+ <I160> = 160;
+ <I161> = 161;
+ <I162> = 162;
+ <I163> = 163;
+ <I164> = 164;
+ <I165> = 165;
+ <I166> = 166;
+ <I167> = 167;
+ <I168> = 168;
+ <I169> = 169;
+ <I170> = 170;
+ <I171> = 171;
+ <I172> = 172;
+ <I173> = 173;
+ <I174> = 174;
+ <I175> = 175;
+ <I176> = 176;
+ <I177> = 177;
+ <I178> = 178;
+ <I179> = 179;
+ <I180> = 180;
+ <I181> = 181;
+ <I182> = 182;
+ <I183> = 183;
+ <I184> = 184;
+ <I185> = 185;
+ <I186> = 186;
+ <I187> = 187;
+ <I188> = 188;
+ <I189> = 189;
+ <I190> = 190;
+ <FK13> = 191;
+ <FK14> = 192;
+ <FK15> = 193;
+ <FK16> = 194;
+ <FK17> = 195;
+ <FK18> = 196;
+ <FK19> = 197;
+ <FK20> = 198;
+ <FK21> = 199;
+ <FK22> = 200;
+ <FK23> = 201;
+ <FK24> = 202;
+ <MDSW> = 203;
+ <ALT> = 204;
+ <META> = 205;
+ <SUPR> = 206;
+ <HYPR> = 207;
+ <I208> = 208;
+ <I209> = 209;
+ <I210> = 210;
+ <I211> = 211;
+ <I212> = 212;
+ <I213> = 213;
+ <I214> = 214;
+ <I215> = 215;
+ <I216> = 216;
+ <I217> = 217;
+ <I218> = 218;
+ <I219> = 219;
+ <I220> = 220;
+ <I221> = 221;
+ <I222> = 222;
+ <I223> = 223;
+ <I224> = 224;
+ <I225> = 225;
+ <I226> = 226;
+ <I227> = 227;
+ <I228> = 228;
+ <I229> = 229;
+ <I230> = 230;
+ <I231> = 231;
+ <I232> = 232;
+ <I233> = 233;
+ <I234> = 234;
+ <I235> = 235;
+ <I236> = 236;
+ <I237> = 237;
+ <I238> = 238;
+ <I239> = 239;
+ <I240> = 240;
+ <I241> = 241;
+ <I242> = 242;
+ <I243> = 243;
+ <I244> = 244;
+ <I245> = 245;
+ <I246> = 246;
+ <I247> = 247;
+ <I248> = 248;
+ <I249> = 249;
+ <I250> = 250;
+ <I251> = 251;
+ <I252> = 252;
+ <I253> = 253;
+ indicator 1 = "Caps Lock";
+ indicator 2 = "Num Lock";
+ indicator 3 = "Scroll Lock";
+ indicator 4 = "Compose";
+ indicator 5 = "Kana";
+ indicator 6 = "Sleep";
+ indicator 7 = "Suspend";
+ indicator 8 = "Mute";
+ indicator 9 = "Misc";
+ indicator 10 = "Mail";
+ indicator 11 = "Charging";
+ virtual indicator 12 = "Shift Lock";
+ virtual indicator 13 = "Group 2";
+ virtual indicator 14 = "Mouse Keys";
+ alias <AC12> = <BKSL>;
+ alias <MENU> = <COMP>;
+ alias <HZTG> = <TLDE>;
+ alias <LMTA> = <LWIN>;
+ alias <RMTA> = <RWIN>;
+ alias <ALGR> = <RALT>;
+ alias <KPPT> = <I129>;
+ alias <LatQ> = <AD01>;
+ alias <LatW> = <AD02>;
+ alias <LatE> = <AD03>;
+ alias <LatR> = <AD04>;
+ alias <LatT> = <AD05>;
+ alias <LatY> = <AD06>;
+ alias <LatU> = <AD07>;
+ alias <LatI> = <AD08>;
+ alias <LatO> = <AD09>;
+ alias <LatP> = <AD10>;
+ alias <LatA> = <AC01>;
+ alias <LatS> = <AC02>;
+ alias <LatD> = <AC03>;
+ alias <LatF> = <AC04>;
+ alias <LatG> = <AC05>;
+ alias <LatH> = <AC06>;
+ alias <LatJ> = <AC07>;
+ alias <LatK> = <AC08>;
+ alias <LatL> = <AC09>;
+ alias <LatZ> = <AB01>;
+ alias <LatX> = <AB02>;
+ alias <LatC> = <AB03>;
+ alias <LatV> = <AB04>;
+ alias <LatB> = <AB05>;
+ alias <LatN> = <AB06>;
+ alias <LatM> = <AB07>;
+};
+
+xkb_types "complete" {
+
+ virtual_modifiers NumLock/* = Mod2 */,Alt/* = Mod1 */,LevelThree/* = Mod5 */,LAlt,RAlt,RControl,LControl,ScrollLock,LevelFive,AltGr/* = Mod5 */,Meta/* = Mod1 */,Super/* = Mod4 */,Hyper/* = Mod4 */;
+
+ type "ONE_LEVEL" {
+ modifiers= none;
+ level_name[Level1]= "Any";
+ };
+ type "TWO_LEVEL" {
+ modifiers= Shift;
+ map[Shift]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ };
+ type "ALPHABETIC" {
+ modifiers= Shift+Lock;
+ map[Shift]= Level2;
+ map[Lock]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Caps";
+ };
+ type "KEYPAD" {
+ modifiers= Shift+NumLock;
+ map[Shift]= Level2;
+ map[NumLock]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Number";
+ };
+ type "SHIFT+ALT" {
+ modifiers= Shift+Alt;
+ map[Shift+Alt]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift+Alt";
+ };
+ type "PC_CONTROL_LEVEL2" {
+ modifiers= Control;
+ map[Control]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Control";
+ };
+ type "PC_LCONTROL_LEVEL2" {
+ modifiers= LControl;
+ map[LControl]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "LControl";
+ };
+ type "PC_RCONTROL_LEVEL2" {
+ modifiers= RControl;
+ map[RControl]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "RControl";
+ };
+ type "PC_ALT_LEVEL2" {
+ modifiers= Alt;
+ map[Alt]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Alt";
+ };
+ type "PC_LALT_LEVEL2" {
+ modifiers= LAlt;
+ map[LAlt]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "LAlt";
+ };
+ type "PC_RALT_LEVEL2" {
+ modifiers= RAlt;
+ map[RAlt]= Level2;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "RAlt";
+ };
+ type "CTRL+ALT" {
+ modifiers= Shift+Control+Alt+LevelThree;
+ map[Shift]= Level2;
+ preserve[Shift]= Shift;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ preserve[Shift+LevelThree]= Shift;
+ map[Control+Alt]= Level5;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ level_name[Level5]= "Ctrl+Alt";
+ };
+ type "LOCAL_EIGHT_LEVEL" {
+ modifiers= Shift+Lock+Control+LevelThree;
+ map[Shift+Lock]= Level1;
+ map[Shift]= Level2;
+ map[Lock]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+Lock+LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Lock+LevelThree]= Level4;
+ map[Control]= Level5;
+ map[Shift+Lock+Control]= Level5;
+ map[Shift+Control]= Level6;
+ map[Lock+Control]= Level6;
+ map[Control+LevelThree]= Level7;
+ map[Shift+Lock+Control+LevelThree]= Level7;
+ map[Shift+Control+LevelThree]= Level8;
+ map[Lock+Control+LevelThree]= Level8;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Level3";
+ level_name[Level4]= "Shift Level3";
+ level_name[Level5]= "Ctrl";
+ level_name[Level6]= "Shift Ctrl";
+ level_name[Level7]= "Level3 Ctrl";
+ level_name[Level8]= "Shift Level3 Ctrl";
+ };
+ type "THREE_LEVEL" {
+ modifiers= Shift+LevelThree;
+ map[Shift]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level3;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Level3";
+ };
+ type "EIGHT_LEVEL" {
+ modifiers= Shift+LevelThree+LevelFive;
+ map[Shift]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[LevelFive]= Level5;
+ map[Shift+LevelFive]= Level6;
+ map[LevelThree+LevelFive]= Level7;
+ map[Shift+LevelThree+LevelFive]= Level8;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ level_name[Level5]= "X";
+ level_name[Level6]= "X Shift";
+ level_name[Level7]= "X Alt Base";
+ level_name[Level8]= "X Shift Alt";
+ };
+ type "EIGHT_LEVEL_ALPHABETIC" {
+ modifiers= Shift+Lock+LevelThree+LevelFive;
+ map[Shift]= Level2;
+ map[Lock]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Lock+LevelThree]= Level4;
+ map[Shift+Lock+LevelThree]= Level3;
+ map[LevelFive]= Level5;
+ map[Shift+LevelFive]= Level6;
+ map[Lock+LevelFive]= Level6;
+ map[LevelThree+LevelFive]= Level7;
+ map[Shift+LevelThree+LevelFive]= Level8;
+ map[Lock+LevelThree+LevelFive]= Level8;
+ map[Shift+Lock+LevelThree+LevelFive]= Level7;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ level_name[Level5]= "X";
+ level_name[Level6]= "X Shift";
+ level_name[Level7]= "X Alt Base";
+ level_name[Level8]= "X Shift Alt";
+ };
+ type "EIGHT_LEVEL_SEMIALPHABETIC" {
+ modifiers= Shift+Lock+LevelThree+LevelFive;
+ map[Shift]= Level2;
+ map[Lock]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Lock+LevelThree]= Level3;
+ preserve[Lock+LevelThree]= Lock;
+ map[Shift+Lock+LevelThree]= Level4;
+ preserve[Shift+Lock+LevelThree]= Lock;
+ map[LevelFive]= Level5;
+ map[Shift+LevelFive]= Level6;
+ map[Lock+LevelFive]= Level6;
+ preserve[Lock+LevelFive]= Lock;
+ map[Shift+Lock+LevelFive]= Level6;
+ preserve[Shift+Lock+LevelFive]= Lock;
+ map[LevelThree+LevelFive]= Level7;
+ map[Shift+LevelThree+LevelFive]= Level8;
+ map[Lock+LevelThree+LevelFive]= Level7;
+ preserve[Lock+LevelThree+LevelFive]= Lock;
+ map[Shift+Lock+LevelThree+LevelFive]= Level8;
+ preserve[Shift+Lock+LevelThree+LevelFive]= Lock;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ level_name[Level5]= "X";
+ level_name[Level6]= "X Shift";
+ level_name[Level7]= "X Alt Base";
+ level_name[Level8]= "X Shift Alt";
+ };
+ type "FOUR_LEVEL" {
+ modifiers= Shift+LevelThree;
+ map[Shift]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ };
+ type "FOUR_LEVEL_ALPHABETIC" {
+ modifiers= Shift+Lock+LevelThree;
+ map[Shift]= Level2;
+ map[Lock]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Lock+LevelThree]= Level4;
+ map[Shift+Lock+LevelThree]= Level3;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ };
+ type "FOUR_LEVEL_SEMIALPHABETIC" {
+ modifiers= Shift+Lock+LevelThree;
+ map[Shift]= Level2;
+ map[Lock]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Lock+LevelThree]= Level3;
+ preserve[Lock+LevelThree]= Lock;
+ map[Shift+Lock+LevelThree]= Level4;
+ preserve[Shift+Lock+LevelThree]= Lock;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ };
+ type "FOUR_LEVEL_MIXED_KEYPAD" {
+ modifiers= Shift+NumLock+LevelThree;
+ map[Shift+NumLock]= Level1;
+ map[NumLock]= Level2;
+ map[Shift]= Level2;
+ map[LevelThree]= Level3;
+ map[NumLock+LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Shift+NumLock+LevelThree]= Level4;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Number";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ };
+ type "FOUR_LEVEL_X" {
+ modifiers= Shift+Control+Alt+LevelThree;
+ map[LevelThree]= Level2;
+ map[Shift+LevelThree]= Level3;
+ map[Control+Alt]= Level4;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Alt Base";
+ level_name[Level3]= "Shift Alt";
+ level_name[Level4]= "Ctrl+Alt";
+ };
+ type "SEPARATE_CAPS_AND_SHIFT_ALPHABETIC" {
+ modifiers= Shift+Lock+LevelThree;
+ map[Shift]= Level2;
+ map[Lock]= Level4;
+ preserve[Lock]= Lock;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Lock+LevelThree]= Level3;
+ preserve[Lock+LevelThree]= Lock;
+ map[Shift+Lock+LevelThree]= Level3;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "AltGr Base";
+ level_name[Level4]= "Shift AltGr";
+ };
+ type "FOUR_LEVEL_PLUS_LOCK" {
+ modifiers= Shift+Lock+LevelThree;
+ map[Shift]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[Lock]= Level5;
+ map[Shift+Lock]= Level2;
+ map[Lock+LevelThree]= Level3;
+ map[Shift+Lock+LevelThree]= Level4;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Shift";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Shift Alt";
+ level_name[Level5]= "Lock";
+ };
+ type "FOUR_LEVEL_KEYPAD" {
+ modifiers= Shift+NumLock+LevelThree;
+ map[Shift]= Level2;
+ map[NumLock]= Level2;
+ map[LevelThree]= Level3;
+ map[Shift+LevelThree]= Level4;
+ map[NumLock+LevelThree]= Level4;
+ map[Shift+NumLock+LevelThree]= Level3;
+ level_name[Level1]= "Base";
+ level_name[Level2]= "Number";
+ level_name[Level3]= "Alt Base";
+ level_name[Level4]= "Alt Number";
+ };
+};
+
+xkb_compatibility "complete" {
+
+ virtual_modifiers NumLock/* = Mod2 */,Alt/* = Mod1 */,LevelThree/* = Mod5 */,LAlt,RAlt,RControl,LControl,ScrollLock,LevelFive,AltGr/* = Mod5 */,Meta/* = Mod1 */,Super/* = Mod4 */,Hyper/* = Mod4 */;
+
+ interpret.useModMapMods= AnyLevel;
+ interpret.repeat= False;
+ interpret.locking= False;
+ interpret ISO_Level2_Latch+Exactly(Shift) {
+ useModMapMods=level1;
+ action= LatchMods(modifiers=Shift,clearLocks,latchToLock);
+ };
+ interpret Shift_Lock+AnyOf(Shift+Lock) {
+ action= LockMods(modifiers=Shift);
+ };
+ interpret Num_Lock+AnyOf(all) {
+ virtualModifier= NumLock;
+ action= LockMods(modifiers=NumLock);
+ };
+ interpret ISO_Level3_Shift+AnyOf(all) {
+ virtualModifier= LevelThree;
+ useModMapMods=level1;
+ action= SetMods(modifiers=LevelThree,clearLocks);
+ };
+ interpret ISO_Level3_Latch+AnyOf(all) {
+ virtualModifier= LevelThree;
+ useModMapMods=level1;
+ action= LatchMods(modifiers=LevelThree,clearLocks,latchToLock);
+ };
+ interpret ISO_Level3_Lock+AnyOf(all) {
+ virtualModifier= LevelThree;
+ useModMapMods=level1;
+ action= LockMods(modifiers=LevelThree);
+ };
+ interpret Alt_L+AnyOf(all) {
+ virtualModifier= Alt;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Alt_R+AnyOf(all) {
+ virtualModifier= Alt;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Meta_L+AnyOf(all) {
+ virtualModifier= Meta;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Meta_R+AnyOf(all) {
+ virtualModifier= Meta;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Super_L+AnyOf(all) {
+ virtualModifier= Super;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Super_R+AnyOf(all) {
+ virtualModifier= Super;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Hyper_L+AnyOf(all) {
+ virtualModifier= Hyper;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Hyper_R+AnyOf(all) {
+ virtualModifier= Hyper;
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ interpret Scroll_Lock+AnyOf(all) {
+ virtualModifier= ScrollLock;
+ action= LockMods(modifiers=modMapMods);
+ };
+ interpret ISO_Level5_Shift+AnyOf(all) {
+ virtualModifier= LevelFive;
+ useModMapMods=level1;
+ action= SetMods(modifiers=LevelFive,clearLocks);
+ };
+ interpret ISO_Level5_Latch+AnyOf(all) {
+ virtualModifier= LevelFive;
+ action= LatchMods(modifiers=LevelFive,clearLocks,latchToLock);
+ };
+ interpret ISO_Level5_Lock+AnyOf(all) {
+ virtualModifier= LevelFive;
+ action= LockMods(modifiers=LevelFive);
+ };
+ interpret Mode_switch+AnyOfOrNone(all) {
+ virtualModifier= AltGr;
+ useModMapMods=level1;
+ action= SetGroup(group=+1);
+ };
+ interpret ISO_Level3_Shift+AnyOfOrNone(all) {
+ action= SetMods(modifiers=LevelThree,clearLocks);
+ };
+ interpret ISO_Level3_Latch+AnyOfOrNone(all) {
+ action= LatchMods(modifiers=LevelThree,clearLocks,latchToLock);
+ };
+ interpret ISO_Level3_Lock+AnyOfOrNone(all) {
+ action= LockMods(modifiers=LevelThree);
+ };
+ interpret ISO_Group_Latch+AnyOfOrNone(all) {
+ virtualModifier= AltGr;
+ useModMapMods=level1;
+ action= LatchGroup(group=2);
+ };
+ interpret ISO_Next_Group+AnyOfOrNone(all) {
+ virtualModifier= AltGr;
+ useModMapMods=level1;
+ action= LockGroup(group=+1);
+ };
+ interpret ISO_Prev_Group+AnyOfOrNone(all) {
+ virtualModifier= AltGr;
+ useModMapMods=level1;
+ action= LockGroup(group=-1);
+ };
+ interpret ISO_First_Group+AnyOfOrNone(all) {
+ action= LockGroup(group=1);
+ };
+ interpret ISO_Last_Group+AnyOfOrNone(all) {
+ action= LockGroup(group=2);
+ };
+ interpret KP_1+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=+1);
+ };
+ interpret KP_End+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=+1);
+ };
+ interpret KP_2+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+0,y=+1);
+ };
+ interpret KP_Down+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+0,y=+1);
+ };
+ interpret KP_3+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=+1);
+ };
+ interpret KP_Next+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=+1);
+ };
+ interpret KP_4+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=+0);
+ };
+ interpret KP_Left+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=+0);
+ };
+ interpret KP_6+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=+0);
+ };
+ interpret KP_Right+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=+0);
+ };
+ interpret KP_7+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=-1);
+ };
+ interpret KP_Home+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=-1);
+ };
+ interpret KP_8+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+0,y=-1);
+ };
+ interpret KP_Up+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+0,y=-1);
+ };
+ interpret KP_9+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=-1);
+ };
+ interpret KP_Prior+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=-1);
+ };
+ interpret KP_5+AnyOfOrNone(all) {
+ repeat= True;
+ action= PtrBtn(button=default);
+ };
+ interpret KP_Begin+AnyOfOrNone(all) {
+ repeat= True;
+ action= PtrBtn(button=default);
+ };
+ interpret KP_F2+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=1);
+ };
+ interpret KP_Divide+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=1);
+ };
+ interpret KP_F3+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=2);
+ };
+ interpret KP_Multiply+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=2);
+ };
+ interpret KP_F4+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=3);
+ };
+ interpret KP_Subtract+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=3);
+ };
+ interpret KP_Separator+AnyOfOrNone(all) {
+ repeat= True;
+ action= PtrBtn(button=default,count=2);
+ };
+ interpret KP_Add+AnyOfOrNone(all) {
+ repeat= True;
+ action= PtrBtn(button=default,count=2);
+ };
+ interpret KP_0+AnyOfOrNone(all) {
+ repeat= True;
+ action= LockPtrBtn(button=default,affect=lock);
+ };
+ interpret KP_Insert+AnyOfOrNone(all) {
+ repeat= True;
+ action= LockPtrBtn(button=default,affect=lock);
+ };
+ interpret KP_Decimal+AnyOfOrNone(all) {
+ repeat= True;
+ action= LockPtrBtn(button=default,affect=unlock);
+ };
+ interpret KP_Delete+AnyOfOrNone(all) {
+ repeat= True;
+ action= LockPtrBtn(button=default,affect=unlock);
+ };
+ interpret F25+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=1);
+ };
+ interpret F26+AnyOfOrNone(all) {
+ repeat= True;
+ action= SetPtrDflt(affect=button,button=2);
+ };
+ interpret F27+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=-1);
+ };
+ interpret F29+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=-1);
+ };
+ interpret F31+AnyOfOrNone(all) {
+ repeat= True;
+ action= PtrBtn(button=default);
+ };
+ interpret F33+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=-1,y=+1);
+ };
+ interpret F35+AnyOfOrNone(all) {
+ repeat= True;
+ action= MovePtr(x=+1,y=+1);
+ };
+ interpret Pointer_Button_Dflt+AnyOfOrNone(all) {
+ action= PtrBtn(button=default);
+ };
+ interpret Pointer_Button1+AnyOfOrNone(all) {
+ action= PtrBtn(button=1);
+ };
+ interpret Pointer_Button2+AnyOfOrNone(all) {
+ action= PtrBtn(button=2);
+ };
+ interpret Pointer_Button3+AnyOfOrNone(all) {
+ action= PtrBtn(button=3);
+ };
+ interpret Pointer_DblClick_Dflt+AnyOfOrNone(all) {
+ action= PtrBtn(button=default,count=2);
+ };
+ interpret Pointer_DblClick1+AnyOfOrNone(all) {
+ action= PtrBtn(button=1,count=2);
+ };
+ interpret Pointer_DblClick2+AnyOfOrNone(all) {
+ action= PtrBtn(button=2,count=2);
+ };
+ interpret Pointer_DblClick3+AnyOfOrNone(all) {
+ action= PtrBtn(button=3,count=2);
+ };
+ interpret Pointer_Drag_Dflt+AnyOfOrNone(all) {
+ action= LockPtrBtn(button=default,affect=both);
+ };
+ interpret Pointer_Drag1+AnyOfOrNone(all) {
+ action= LockPtrBtn(button=1,affect=both);
+ };
+ interpret Pointer_Drag2+AnyOfOrNone(all) {
+ action= LockPtrBtn(button=2,affect=both);
+ };
+ interpret Pointer_Drag3+AnyOfOrNone(all) {
+ action= LockPtrBtn(button=3,affect=both);
+ };
+ interpret Pointer_EnableKeys+AnyOfOrNone(all) {
+ action= LockControls(controls=MouseKeys);
+ };
+ interpret Pointer_Accelerate+AnyOfOrNone(all) {
+ action= LockControls(controls=MouseKeysAccel);
+ };
+ interpret Pointer_DfltBtnNext+AnyOfOrNone(all) {
+ action= SetPtrDflt(affect=button,button=+1);
+ };
+ interpret Pointer_DfltBtnPrev+AnyOfOrNone(all) {
+ action= SetPtrDflt(affect=button,button=-1);
+ };
+ interpret AccessX_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=AccessXKeys);
+ };
+ interpret AccessX_Feedback_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=AccessXFeedback);
+ };
+ interpret RepeatKeys_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=RepeatKeys);
+ };
+ interpret SlowKeys_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=SlowKeys);
+ };
+ interpret BounceKeys_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=BounceKeys);
+ };
+ interpret StickyKeys_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=StickyKeys);
+ };
+ interpret MouseKeys_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=MouseKeys);
+ };
+ interpret MouseKeys_Accel_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=MouseKeysAccel);
+ };
+ interpret Overlay1_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=Overlay1);
+ };
+ interpret Overlay2_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=Overlay2);
+ };
+ interpret AudibleBell_Enable+AnyOfOrNone(all) {
+ action= LockControls(controls=AudibleBell);
+ };
+ interpret Terminate_Server+AnyOfOrNone(all) {
+ action= Terminate();
+ };
+ interpret Alt_L+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Alt,clearLocks);
+ };
+ interpret Alt_R+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Alt,clearLocks);
+ };
+ interpret Meta_L+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Meta,clearLocks);
+ };
+ interpret Meta_R+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Meta,clearLocks);
+ };
+ interpret Super_L+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Super,clearLocks);
+ };
+ interpret Super_R+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Super,clearLocks);
+ };
+ interpret Hyper_L+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Hyper,clearLocks);
+ };
+ interpret Hyper_R+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Hyper,clearLocks);
+ };
+ interpret Shift_L+AnyOfOrNone(all) {
+ action= SetMods(modifiers=Shift,clearLocks);
+ };
+ interpret XF86Switch_VT_1+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=1,!same);
+ };
+ interpret XF86Switch_VT_2+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=2,!same);
+ };
+ interpret XF86Switch_VT_3+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=3,!same);
+ };
+ interpret XF86Switch_VT_4+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=4,!same);
+ };
+ interpret XF86Switch_VT_5+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=5,!same);
+ };
+ interpret XF86Switch_VT_6+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=6,!same);
+ };
+ interpret XF86Switch_VT_7+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=7,!same);
+ };
+ interpret XF86Switch_VT_8+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=8,!same);
+ };
+ interpret XF86Switch_VT_9+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=9,!same);
+ };
+ interpret XF86Switch_VT_10+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=10,!same);
+ };
+ interpret XF86Switch_VT_11+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=11,!same);
+ };
+ interpret XF86Switch_VT_12+AnyOfOrNone(all) {
+ repeat= True;
+ action= SwitchScreen(screen=12,!same);
+ };
+ interpret XF86LogGrabInfo+AnyOfOrNone(all) {
+ repeat= True;
+ action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x47,data[3]=0x72,data[4]=0x62,data[5]=0x73,data[6]=0x00);
+ };
+ interpret XF86LogWindowTree+AnyOfOrNone(all) {
+ repeat= True;
+ action= Private(type=0x86,data[0]=0x50,data[1]=0x72,data[2]=0x57,data[3]=0x69,data[4]=0x6e,data[5]=0x73,data[6]=0x00);
+ };
+ interpret XF86Next_VMode+AnyOfOrNone(all) {
+ repeat= True;
+ action= Private(type=0x86,data[0]=0x2b,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00);
+ };
+ interpret XF86Prev_VMode+AnyOfOrNone(all) {
+ repeat= True;
+ action= Private(type=0x86,data[0]=0x2d,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00);
+ };
+ interpret ISO_Level5_Shift+AnyOfOrNone(all) {
+ action= SetMods(modifiers=LevelFive,clearLocks);
+ };
+ interpret ISO_Level5_Latch+AnyOfOrNone(all) {
+ action= LatchMods(modifiers=LevelFive,clearLocks,latchToLock);
+ };
+ interpret ISO_Level5_Lock+AnyOfOrNone(all) {
+ action= LockMods(modifiers=LevelFive);
+ };
+ interpret Caps_Lock+AnyOfOrNone(all) {
+ action= LockMods(modifiers=Lock);
+ };
+ interpret Any+Exactly(Lock) {
+ action= LockMods(modifiers=Lock);
+ };
+ interpret Any+AnyOf(all) {
+ action= SetMods(modifiers=modMapMods,clearLocks);
+ };
+ indicator "Caps Lock" {
+ !allowExplicit;
+ whichModState= locked;
+ modifiers= Lock;
+ };
+ indicator "Num Lock" {
+ !allowExplicit;
+ whichModState= locked;
+ modifiers= NumLock;
+ };
+ indicator "Scroll Lock" {
+ whichModState= locked;
+ modifiers= ScrollLock;
+ };
+ indicator "Shift Lock" {
+ !allowExplicit;
+ whichModState= locked;
+ modifiers= Shift;
+ };
+ indicator "Group 2" {
+ !allowExplicit;
+ groups= 0xfe;
+ };
+ indicator "Mouse Keys" {
+ indicatorDrivesKeyboard;
+ controls= mouseKeys;
+ };
+};
+
+xkb_symbols "pc+us(altgr-intl)+de(deadgraveacute):2+inet(evdev)+group(menu_toggle)+capslock(escape)+compose(rwin" {
+
+ name[group1]="English (US)";
+ name[group2]="German (dead grave acute)";
+
+ key <ESC> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Escape ]
+ };
+ key <AE01> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 1, exclam, onesuperior, exclamdown ]
+ };
+ key <AE02> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 2, at, twosuperior, dead_doubleacute ],
+ symbols[Group2]= [ 2, quotedbl, twosuperior, oneeighth ]
+ };
+ key <AE03> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 3, numbersign, threesuperior, dead_macron ],
+ symbols[Group2]= [ 3, section, threesuperior, sterling ]
+ };
+ key <AE04> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 4, dollar, currency, sterling ],
+ symbols[Group2]= [ 4, dollar, onequarter, currency ]
+ };
+ key <AE05> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 5, percent, EuroSign, dead_cedilla ],
+ symbols[Group2]= [ 5, percent, onehalf, threeeighths ]
+ };
+ key <AE06> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 6, asciicircum, dead_circumflex, onequarter ],
+ symbols[Group2]= [ 6, ampersand, notsign, fiveeighths ]
+ };
+ key <AE07> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 7, ampersand, dead_horn, onehalf ],
+ symbols[Group2]= [ 7, slash, braceleft, seveneighths ]
+ };
+ key <AE08> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 8, asterisk, dead_ogonek, threequarters ],
+ symbols[Group2]= [ 8, parenleft, bracketleft, trademark ]
+ };
+ key <AE09> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 9, parenleft, leftsinglequotemark, dead_breve ],
+ symbols[Group2]= [ 9, parenright, bracketright, plusminus ]
+ };
+ key <AE10> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ 0, parenright, rightsinglequotemark, dead_abovering ],
+ symbols[Group2]= [ 0, equal, braceright, degree ]
+ };
+ key <AE11> {
+ type[group1]= "FOUR_LEVEL",
+ type[group2]= "FOUR_LEVEL_PLUS_LOCK",
+ symbols[Group1]= [ minus, underscore, yen, dead_belowdot ],
+ symbols[Group2]= [ ssharp, question, backslash, questiondown, U1E9E ]
+ };
+ key <AE12> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ equal, plus, multiply, division ],
+ symbols[Group2]= [ dead_acute, dead_grave, dead_cedilla, dead_ogonek ]
+ };
+ key <BKSP> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ BackSpace, BackSpace, NoSymbol, NoSymbol, Terminate_Server ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), Terminate() ]
+ };
+ key <TAB> {
+// type= "TWO_LEVEL",
+ symbols[Group1]= [ Tab, ISO_Left_Tab ]
+ };
+ key <AD01> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ q, Q, adiaeresis, Adiaeresis ],
+ symbols[Group2]= [ q, Q, at, Greek_OMEGA ]
+ };
+ key <AD02> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ w, W, aring, Aring ],
+ symbols[Group2]= [ w, W, lstroke, Lstroke ]
+ };
+ key <AD03> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ e, E, eacute, Eacute ],
+ symbols[Group2]= [ e, E, EuroSign, EuroSign ]
+ };
+ key <AD04> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ r, R, ediaeresis, Ediaeresis ],
+ symbols[Group2]= [ r, R, paragraph, registered ]
+ };
+ key <AD05> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ t, T, thorn, THORN ],
+ symbols[Group2]= [ t, T, tslash, Tslash ]
+ };
+ key <AD06> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ y, Y, udiaeresis, Udiaeresis ],
+ symbols[Group2]= [ z, Z, leftarrow, yen ]
+ };
+ key <AD07> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ u, U, uacute, Uacute ],
+ symbols[Group2]= [ u, U, downarrow, uparrow ]
+ };
+ key <AD08> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ i, I, iacute, Iacute ],
+ symbols[Group2]= [ i, I, rightarrow, idotless ]
+ };
+ key <AD09> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ o, O, oacute, Oacute ],
+ symbols[Group2]= [ o, O, oslash, Oslash ]
+ };
+ key <AD10> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ p, P, odiaeresis, Odiaeresis ],
+ symbols[Group2]= [ p, P, thorn, THORN ]
+ };
+ key <AD11> {
+ type[group1]= "FOUR_LEVEL",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ bracketleft, braceleft, guillemotleft, leftdoublequotemark ],
+ symbols[Group2]= [ udiaeresis, Udiaeresis, dead_diaeresis, dead_abovering ]
+ };
+ key <AD12> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ bracketright, braceright, guillemotright, rightdoublequotemark ],
+ symbols[Group2]= [ plus, asterisk, asciitilde, dead_macron ]
+ };
+ key <RTRN> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Return ]
+ };
+ key <LCTL> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Control_L ],
+ actions[Group1]= [ SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <AC01> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ a, A, aacute, Aacute ],
+ symbols[Group2]= [ a, A, ae, AE ]
+ };
+ key <AC02> {
+ type= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ s, S, ssharp, section ],
+ symbols[Group2]= [ s, S, U017F, U1E9E ]
+ };
+ key <AC03> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ d, D, eth, ETH ]
+ };
+ key <AC04> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ f, F, f, F ],
+ symbols[Group2]= [ f, F, dstroke, ordfeminine ]
+ };
+ key <AC05> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ g, G, g, G ],
+ symbols[Group2]= [ g, G, eng, ENG ]
+ };
+ key <AC06> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ h, H, h, H ],
+ symbols[Group2]= [ h, H, hstroke, Hstroke ]
+ };
+ key <AC07> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ j, J, idiaeresis, Idiaeresis ],
+ symbols[Group2]= [ j, J, dead_belowdot, dead_abovedot ]
+ };
+ key <AC08> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ k, K, oe, OE ],
+ symbols[Group2]= [ k, K, kra, ampersand ]
+ };
+ key <AC09> {
+ type= "FOUR_LEVEL_ALPHABETIC",
+ symbols[Group1]= [ l, L, oslash, Oslash ],
+ symbols[Group2]= [ l, L, lstroke, Lstroke ]
+ };
+ key <AC10> {
+ type[group1]= "FOUR_LEVEL",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ semicolon, colon, paragraph, degree ],
+ symbols[Group2]= [ odiaeresis, Odiaeresis, dead_doubleacute, dead_belowdot ]
+ };
+ key <AC11> {
+ type[group1]= "FOUR_LEVEL",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ apostrophe, quotedbl, dead_acute, dead_diaeresis ],
+ symbols[Group2]= [ adiaeresis, Adiaeresis, dead_circumflex, dead_caron ]
+ };
+ key <TLDE> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ grave, asciitilde, dead_grave, dead_tilde ],
+ symbols[Group2]= [ asciicircum, degree, notsign, notsign ]
+ };
+ key <LFSH> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Shift_L ],
+ actions[Group1]= [ SetMods(modifiers=Shift,clearLocks) ]
+ };
+ key <BKSL> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ backslash, bar, notsign, brokenbar ],
+ symbols[Group2]= [ numbersign, apostrophe, grave, grave ]
+ };
+ key <AB01> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ z, Z, ae, AE ],
+ symbols[Group2]= [ y, Y, guillemotright, U203A ]
+ };
+ key <AB02> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ x, X, oe, OE ],
+ symbols[Group2]= [ x, X, guillemotleft, U2039 ]
+ };
+ key <AB03> {
+ type= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ c, C, copyright, cent ],
+ symbols[Group2]= [ c, C, cent, copyright ]
+ };
+ key <AB04> {
+ type= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ v, V, registered, registered ],
+ symbols[Group2]= [ v, V, doublelowquotemark, singlelowquotemark ]
+ };
+ key <AB05> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ b, B, b, B ],
+ symbols[Group2]= [ b, B, leftdoublequotemark, leftsinglequotemark ]
+ };
+ key <AB06> {
+ type[group1]= "FOUR_LEVEL_ALPHABETIC",
+ type[group2]= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ n, N, ntilde, Ntilde ],
+ symbols[Group2]= [ n, N, rightdoublequotemark, rightsinglequotemark ]
+ };
+ key <AB07> {
+ type= "FOUR_LEVEL_SEMIALPHABETIC",
+ symbols[Group1]= [ m, M, mu, mu ],
+ symbols[Group2]= [ m, M, mu, masculine ]
+ };
+ key <AB08> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ comma, less, ccedilla, Ccedilla ],
+ symbols[Group2]= [ comma, semicolon, periodcentered, multiply ]
+ };
+ key <AB09> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ period, greater, dead_abovedot, dead_caron ],
+ symbols[Group2]= [ period, colon, U2026, division ]
+ };
+ key <AB10> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ slash, question, questiondown, dead_hook ],
+ symbols[Group2]= [ minus, underscore, endash, emdash ]
+ };
+ key <RTSH> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Shift_R ],
+ actions[Group1]= [ SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <KPMU> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ KP_Multiply, KP_Multiply, KP_Multiply, KP_Multiply, XF86ClearGrab ],
+ actions[Group1]= [ SetPtrDflt(affect=button,button=2), SetPtrDflt(affect=button,button=2), SetPtrDflt(affect=button,button=2), SetPtrDflt(affect=button,button=2), NoAction() ]
+ };
+ key <LALT> {
+// type= "TWO_LEVEL",
+// virtualMods= Alt+Meta,
+ symbols[Group1]= [ Alt_L, Meta_L ],
+ actions[Group1]= [ SetMods(modifiers=modMapMods,clearLocks), SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <SPCE> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ space ]
+ };
+ key <CAPS> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Escape ]
+ };
+ key <FK01> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F1, F1, F1, F1, XF86Switch_VT_1 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=1,!same) ]
+ };
+ key <FK02> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F2, F2, F2, F2, XF86Switch_VT_2 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=2,!same) ]
+ };
+ key <FK03> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F3, F3, F3, F3, XF86Switch_VT_3 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=3,!same) ]
+ };
+ key <FK04> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F4, F4, F4, F4, XF86Switch_VT_4 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=4,!same) ]
+ };
+ key <FK05> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F5, F5, F5, F5, XF86Switch_VT_5 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=5,!same) ]
+ };
+ key <FK06> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F6, F6, F6, F6, XF86Switch_VT_6 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=6,!same) ]
+ };
+ key <FK07> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F7, F7, F7, F7, XF86Switch_VT_7 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=7,!same) ]
+ };
+ key <FK08> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F8, F8, F8, F8, XF86Switch_VT_8 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=8,!same) ]
+ };
+ key <FK09> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F9, F9, F9, F9, XF86Switch_VT_9 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=9,!same) ]
+ };
+ key <FK10> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F10, F10, F10, F10, XF86Switch_VT_10 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=10,!same) ]
+ };
+ key <NMLK> {
+// type= "ONE_LEVEL",
+// virtualMods= NumLock,
+ symbols[Group1]= [ Num_Lock ],
+ actions[Group1]= [ LockMods(modifiers=NumLock) ]
+ };
+ key <SCLK> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Scroll_Lock ]
+ };
+ key <KP7> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Home, KP_7 ],
+ actions[Group1]= [ MovePtr(x=-1,y=-1), MovePtr(x=-1,y=-1) ]
+ };
+ key <KP8> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Up, KP_8 ],
+ actions[Group1]= [ MovePtr(x=+0,y=-1), MovePtr(x=+0,y=-1) ]
+ };
+ key <KP9> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Prior, KP_9 ],
+ actions[Group1]= [ MovePtr(x=+1,y=-1), MovePtr(x=+1,y=-1) ]
+ };
+ key <KPSU> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ KP_Subtract, KP_Subtract, KP_Subtract, KP_Subtract, XF86Prev_VMode ],
+ actions[Group1]= [ SetPtrDflt(affect=button,button=3), SetPtrDflt(affect=button,button=3), SetPtrDflt(affect=button,button=3), SetPtrDflt(affect=button,button=3), Private(type=0x86,data[0]=0x2d,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00) ]
+ };
+ key <KP4> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Left, KP_4 ],
+ actions[Group1]= [ MovePtr(x=-1,y=+0), MovePtr(x=-1,y=+0) ]
+ };
+ key <KP5> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Begin, KP_5 ],
+ actions[Group1]= [ PtrBtn(button=default), PtrBtn(button=default) ]
+ };
+ key <KP6> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Right, KP_6 ],
+ actions[Group1]= [ MovePtr(x=+1,y=+0), MovePtr(x=+1,y=+0) ]
+ };
+ key <KPAD> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ KP_Add, KP_Add, KP_Add, KP_Add, XF86Next_VMode ],
+ actions[Group1]= [ PtrBtn(button=default,count=2), PtrBtn(button=default,count=2), PtrBtn(button=default,count=2), PtrBtn(button=default,count=2), Private(type=0x86,data[0]=0x2b,data[1]=0x56,data[2]=0x4d,data[3]=0x6f,data[4]=0x64,data[5]=0x65,data[6]=0x00) ]
+ };
+ key <KP1> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_End, KP_1 ],
+ actions[Group1]= [ MovePtr(x=-1,y=+1), MovePtr(x=-1,y=+1) ]
+ };
+ key <KP2> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Down, KP_2 ],
+ actions[Group1]= [ MovePtr(x=+0,y=+1), MovePtr(x=+0,y=+1) ]
+ };
+ key <KP3> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Next, KP_3 ],
+ actions[Group1]= [ MovePtr(x=+1,y=+1), MovePtr(x=+1,y=+1) ]
+ };
+ key <KP0> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Insert, KP_0 ],
+ actions[Group1]= [ LockPtrBtn(button=default,affect=lock), LockPtrBtn(button=default,affect=lock) ]
+ };
+ key <KPDL> {
+ type= "KEYPAD",
+ symbols[Group1]= [ KP_Delete, KP_Decimal ],
+ actions[Group1]= [ LockPtrBtn(button=default,affect=unlock), LockPtrBtn(button=default,affect=unlock) ],
+ symbols[Group2]= [ KP_Delete, KP_Separator ],
+ actions[Group2]= [ LockPtrBtn(button=default,affect=unlock), PtrBtn(button=default,count=2) ]
+ };
+ key <LVL3> {
+// type= "ONE_LEVEL",
+// virtualMods= LevelThree,
+ symbols[Group1]= [ ISO_Level3_Shift ],
+ actions[Group1]= [ SetMods(modifiers=LevelThree,clearLocks) ]
+ };
+ key <LSGT> {
+ type= "FOUR_LEVEL",
+ symbols[Group1]= [ less, greater, bar, brokenbar ]
+ };
+ key <FK11> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F11, F11, F11, F11, XF86Switch_VT_11 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=11,!same) ]
+ };
+ key <FK12> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ F12, F12, F12, F12, XF86Switch_VT_12 ],
+ actions[Group1]= [ NoAction(), NoAction(), NoAction(), NoAction(), SwitchScreen(screen=12,!same) ]
+ };
+ key <KATA> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Katakana ]
+ };
+ key <HIRA> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Hiragana ]
+ };
+ key <HENK> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Henkan_Mode ]
+ };
+ key <HKTG> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Hiragana_Katakana ]
+ };
+ key <MUHE> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Muhenkan ]
+ };
+ key <KPEN> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ KP_Enter ]
+ };
+ key <RCTL> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Control_R ],
+ actions[Group1]= [ SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <KPDV> {
+ type= "CTRL+ALT",
+ symbols[Group1]= [ KP_Divide, KP_Divide, KP_Divide, KP_Divide, XF86Ungrab ],
+ actions[Group1]= [ SetPtrDflt(affect=button,button=1), SetPtrDflt(affect=button,button=1), SetPtrDflt(affect=button,button=1), SetPtrDflt(affect=button,button=1), NoAction() ]
+ };
+ key <PRSC> {
+ type= "PC_ALT_LEVEL2",
+ symbols[Group1]= [ Print, Sys_Req ]
+ };
+ key <RALT> {
+ type= "ONE_LEVEL",
+ symbols[Group1]= [ ISO_Level3_Shift ],
+ actions[Group1]= [ SetMods(modifiers=LevelThree,clearLocks) ],
+ symbols[Group2]= [ ISO_Level3_Shift ],
+ actions[Group2]= [ SetMods(modifiers=LevelThree,clearLocks) ]
+ };
+ key <LNFD> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Linefeed ]
+ };
+ key <HOME> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Home ]
+ };
+ key <UP> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Up ]
+ };
+ key <PGUP> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Prior ]
+ };
+ key <LEFT> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Left ]
+ };
+ key <RGHT> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Right ]
+ };
+ key <END> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ End ]
+ };
+ key <DOWN> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Down ]
+ };
+ key <PGDN> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Next ]
+ };
+ key <INS> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Insert ]
+ };
+ key <DELE> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Delete ]
+ };
+ key <MUTE> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioMute ]
+ };
+ key <VOL-> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioLowerVolume ]
+ };
+ key <VOL+> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioRaiseVolume ]
+ };
+ key <POWR> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86PowerOff ]
+ };
+ key <KPEQ> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ KP_Equal ]
+ };
+ key <I126> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ plusminus ]
+ };
+ key <PAUS> {
+ type= "PC_CONTROL_LEVEL2",
+ symbols[Group1]= [ Pause, Break ]
+ };
+ key <I128> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86LaunchA ]
+ };
+ key <I129> {
+// type= "KEYPAD",
+ symbols[Group1]= [ KP_Decimal, KP_Decimal ],
+ actions[Group1]= [ LockPtrBtn(button=default,affect=unlock), LockPtrBtn(button=default,affect=unlock) ]
+ };
+ key <HNGL> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Hangul ]
+ };
+ key <HJCV> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Hangul_Hanja ]
+ };
+ key <LWIN> {
+// type= "ONE_LEVEL",
+// virtualMods= Super,
+ symbols[Group1]= [ Super_L ],
+ actions[Group1]= [ SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <RWIN> {
+ type= "TWO_LEVEL",
+ symbols[Group1]= [ Multi_key, Multi_key ]
+ };
+ key <COMP> {
+// type= "TWO_LEVEL",
+// virtualMods= AltGr,
+ symbols[Group1]= [ ISO_Next_Group, Menu ],
+ actions[Group1]= [ LockGroup(group=+1), NoAction() ]
+ };
+ key <STOP> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Cancel ]
+ };
+ key <AGAI> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Redo ]
+ };
+ key <PROP> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ SunProps ]
+ };
+ key <UNDO> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Undo ]
+ };
+ key <FRNT> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ SunFront ]
+ };
+ key <COPY> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Copy ]
+ };
+ key <OPEN> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ SunOpen ]
+ };
+ key <PAST> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Paste ]
+ };
+ key <FIND> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Find ]
+ };
+ key <CUT> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Cut ]
+ };
+ key <HELP> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Help ]
+ };
+ key <I147> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86MenuKB ]
+ };
+ key <I148> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Calculator ]
+ };
+ key <I150> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Sleep ]
+ };
+ key <I151> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86WakeUp ]
+ };
+ key <I152> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Explorer ]
+ };
+ key <I153> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Send ]
+ };
+ key <I155> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Xfer ]
+ };
+ key <I156> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch1 ]
+ };
+ key <I157> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch2 ]
+ };
+ key <I158> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86WWW ]
+ };
+ key <I159> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86DOS ]
+ };
+ key <I160> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86ScreenSaver ]
+ };
+ key <I162> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86RotateWindows ]
+ };
+ key <I163> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Mail ]
+ };
+ key <I164> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Favorites ]
+ };
+ key <I165> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86MyComputer ]
+ };
+ key <I166> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Back ]
+ };
+ key <I167> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Forward ]
+ };
+ key <I169> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Eject ]
+ };
+ key <I170> {
+// type= "TWO_LEVEL",
+ symbols[Group1]= [ XF86Eject, XF86Eject ]
+ };
+ key <I171> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioNext ]
+ };
+ key <I172> {
+// type= "TWO_LEVEL",
+ symbols[Group1]= [ XF86AudioPlay, XF86AudioPause ]
+ };
+ key <I173> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioPrev ]
+ };
+ key <I174> {
+// type= "TWO_LEVEL",
+ symbols[Group1]= [ XF86AudioStop, XF86Eject ]
+ };
+ key <I175> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioRecord ]
+ };
+ key <I176> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioRewind ]
+ };
+ key <I177> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Phone ]
+ };
+ key <I179> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Tools ]
+ };
+ key <I180> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86HomePage ]
+ };
+ key <I181> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Reload ]
+ };
+ key <I182> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Close ]
+ };
+ key <I185> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86ScrollUp ]
+ };
+ key <I186> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86ScrollDown ]
+ };
+ key <I187> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ parenleft ]
+ };
+ key <I188> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ parenright ]
+ };
+ key <I189> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86New ]
+ };
+ key <I190> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Redo ]
+ };
+ key <FK13> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Tools ]
+ };
+ key <FK14> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch5 ]
+ };
+ key <FK15> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch6 ]
+ };
+ key <FK16> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch7 ]
+ };
+ key <FK17> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch8 ]
+ };
+ key <FK18> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch9 ]
+ };
+ key <FK21> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86TouchpadToggle ]
+ };
+ key <FK22> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86TouchpadOn ]
+ };
+ key <FK23> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86TouchpadOff ]
+ };
+ key <MDSW> {
+// type= "ONE_LEVEL",
+// virtualMods= AltGr,
+ symbols[Group1]= [ Mode_switch ],
+ actions[Group1]= [ SetGroup(group=+1) ]
+ };
+ key <ALT> {
+// type= "TWO_LEVEL",
+ symbols[Group1]= [ NoSymbol, Alt_L ],
+ actions[Group1]= [ NoAction(), SetMods(modifiers=Alt,clearLocks) ]
+ };
+ key <META> {
+// type= "TWO_LEVEL",
+// virtualMods= Meta,
+ symbols[Group1]= [ NoSymbol, Meta_L ],
+ actions[Group1]= [ NoAction(), SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <SUPR> {
+// type= "TWO_LEVEL",
+// virtualMods= Super,
+ symbols[Group1]= [ NoSymbol, Super_L ],
+ actions[Group1]= [ NoAction(), SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <HYPR> {
+// type= "TWO_LEVEL",
+// virtualMods= Hyper,
+ symbols[Group1]= [ NoSymbol, Hyper_L ],
+ actions[Group1]= [ NoAction(), SetMods(modifiers=modMapMods,clearLocks) ]
+ };
+ key <I208> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioPlay ]
+ };
+ key <I209> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioPause ]
+ };
+ key <I210> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch3 ]
+ };
+ key <I211> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Launch4 ]
+ };
+ key <I212> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86LaunchB ]
+ };
+ key <I213> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Suspend ]
+ };
+ key <I214> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Close ]
+ };
+ key <I215> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioPlay ]
+ };
+ key <I216> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioForward ]
+ };
+ key <I218> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Print ]
+ };
+ key <I220> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86WebCam ]
+ };
+ key <I223> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Mail ]
+ };
+ key <I224> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Messenger ]
+ };
+ key <I225> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Search ]
+ };
+ key <I226> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Go ]
+ };
+ key <I227> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Finance ]
+ };
+ key <I228> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Game ]
+ };
+ key <I229> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Shop ]
+ };
+ key <I231> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ Cancel ]
+ };
+ key <I232> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86MonBrightnessDown ]
+ };
+ key <I233> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86MonBrightnessUp ]
+ };
+ key <I234> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86AudioMedia ]
+ };
+ key <I235> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Display ]
+ };
+ key <I236> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86KbdLightOnOff ]
+ };
+ key <I237> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86KbdBrightnessDown ]
+ };
+ key <I238> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86KbdBrightnessUp ]
+ };
+ key <I239> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Send ]
+ };
+ key <I240> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Reply ]
+ };
+ key <I241> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86MailForward ]
+ };
+ key <I242> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Save ]
+ };
+ key <I243> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Documents ]
+ };
+ key <I244> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Battery ]
+ };
+ key <I245> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86Bluetooth ]
+ };
+ key <I246> {
+// type= "ONE_LEVEL",
+ symbols[Group1]= [ XF86WLAN ]
+ };
+ modifier_map Control { <LCTL> };
+ modifier_map Shift { <LFSH> };
+ modifier_map Shift { <RTSH> };
+ modifier_map Mod1 { <LALT> };
+ modifier_map Mod2 { <NMLK> };
+ modifier_map Mod5 { <LVL3> };
+ modifier_map Control { <RCTL> };
+ modifier_map Mod4 { <LWIN> };
+ modifier_map Mod5 { <MDSW> };
+ modifier_map Mod1 { <META> };
+ modifier_map Mod4 { <SUPR> };
+ modifier_map Mod4 { <HYPR> };
+};
+
+xkb_geometry "pc(pc104)" {
+
+ width= 470;
+ height= 180;
+
+ alias <AC00> = <CAPS>;
+ alias <AA00> = <LCTL>;
+
+ baseColor= "white";
+ labelColor= "black";
+ xfont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
+// color[0]= "black"
+// color[1]= "white"
+// color[2]= "grey20"
+// color[3]= "grey10"
+// color[4]= "green"
+// color[5]= "green30"
+
+ description= "Generic 104";
+
+ shape "NORM" {
+ corner= 1,
+ { [ 18, 18 ] },
+ { [ 2, 1 ], [ 16, 16 ] }
+ };
+ shape "BKSP" {
+ corner= 1,
+ { [ 38, 18 ] },
+ { [ 2, 1 ], [ 36, 16 ] }
+ };
+ shape "TABK" {
+ corner= 1,
+ { [ 28, 18 ] },
+ { [ 2, 1 ], [ 26, 16 ] }
+ };
+ shape "BKSL" {
+ corner= 1,
+ { [ 28, 18 ] },
+ { [ 2, 1 ], [ 26, 16 ] }
+ };
+ shape "RTRN" {
+ corner= 1,
+ { [ 42, 18 ] },
+ { [ 2, 1 ], [ 40, 16 ] }
+ };
+ shape "CAPS" {
+ corner= 1,
+ { [ 33, 18 ] },
+ { [ 2, 1 ], [ 31, 16 ] }
+ };
+ shape "LFSH" {
+ corner= 1,
+ { [ 42, 18 ] },
+ { [ 2, 1 ], [ 40, 16 ] }
+ };
+ shape "RTSH" {
+ corner= 1,
+ { [ 52, 18 ] },
+ { [ 2, 1 ], [ 50, 16 ] }
+ };
+ shape "MODK" {
+ corner= 1,
+ { [ 27, 18 ] },
+ { [ 2, 1 ], [ 25, 16 ] }
+ };
+ shape "SMOD" {
+ corner= 1,
+ { [ 23, 18 ] },
+ { [ 2, 1 ], [ 21, 16 ] }
+ };
+ shape "SPCE" {
+ corner= 1,
+ { [ 113, 18 ] },
+ { [ 2, 1 ], [ 111, 16 ] }
+ };
+ shape "KP0" {
+ corner= 1,
+ { [ 37, 18 ] },
+ { [ 2, 1 ], [ 35, 16 ] }
+ };
+ shape "KPAD" {
+ corner= 1,
+ { [ 18, 37 ] },
+ { [ 2, 1 ], [ 16, 35 ] }
+ };
+ shape "LEDS" { { [ 75, 20 ] } };
+ shape "LED" { { [ 5, 1 ] } };
+ section "Function" {
+ key.color= "grey20";
+ priority= 7;
+ top= 22;
+ left= 19;
+ width= 351;
+ height= 19;
+ row {
+ top= 1;
+ left= 1;
+ keys {
+ { <ESC>, "NORM", 1 },
+ { <FK01>, "NORM", 20, color="white" },
+ { <FK02>, "NORM", 1, color="white" },
+ { <FK03>, "NORM", 1, color="white" },
+ { <FK04>, "NORM", 1, color="white" },
+ { <FK05>, "NORM", 11, color="white" },
+ { <FK06>, "NORM", 1, color="white" },
+ { <FK07>, "NORM", 1, color="white" },
+ { <FK08>, "NORM", 1, color="white" },
+ { <FK09>, "NORM", 11, color="white" },
+ { <FK10>, "NORM", 1, color="white" },
+ { <FK11>, "NORM", 1, color="white" },
+ { <FK12>, "NORM", 1, color="white" },
+ { <PRSC>, "NORM", 8, color="white" },
+ { <SCLK>, "NORM", 1, color="white" },
+ { <PAUS>, "NORM", 1, color="white" }
+ };
+ };
+ }; // End of "Function" section
+
+ section "Alpha" {
+ key.color= "white";
+ priority= 8;
+ top= 61;
+ left= 19;
+ width= 287;
+ height= 95;
+ row {
+ top= 1;
+ left= 1;
+ keys {
+ { <TLDE>, "NORM", 1 }, { <AE01>, "NORM", 1 },
+ { <AE02>, "NORM", 1 }, { <AE03>, "NORM", 1 },
+ { <AE04>, "NORM", 1 }, { <AE05>, "NORM", 1 },
+ { <AE06>, "NORM", 1 }, { <AE07>, "NORM", 1 },
+ { <AE08>, "NORM", 1 }, { <AE09>, "NORM", 1 },
+ { <AE10>, "NORM", 1 }, { <AE11>, "NORM", 1 },
+ { <AE12>, "NORM", 1 },
+ { <BKSP>, "BKSP", 1, color="grey20" }
+ };
+ };
+ row {
+ top= 20;
+ left= 1;
+ keys {
+ { <TAB>, "TABK", 1, color="grey20" },
+ { <AD01>, "NORM", 1 }, { <AD02>, "NORM", 1 },
+ { <AD03>, "NORM", 1 }, { <AD04>, "NORM", 1 },
+ { <AD05>, "NORM", 1 }, { <AD06>, "NORM", 1 },
+ { <AD07>, "NORM", 1 }, { <AD08>, "NORM", 1 },
+ { <AD09>, "NORM", 1 }, { <AD10>, "NORM", 1 },
+ { <AD11>, "NORM", 1 }, { <AD12>, "NORM", 1 },
+ { <BKSL>, "BKSL", 1 }
+ };
+ };
+ row {
+ top= 39;
+ left= 1;
+ keys {
+ { <CAPS>, "CAPS", 1, color="grey20" },
+ { <AC01>, "NORM", 1 }, { <AC02>, "NORM", 1 },
+ { <AC03>, "NORM", 1 }, { <AC04>, "NORM", 1 },
+ { <AC05>, "NORM", 1 }, { <AC06>, "NORM", 1 },
+ { <AC07>, "NORM", 1 }, { <AC08>, "NORM", 1 },
+ { <AC09>, "NORM", 1 }, { <AC10>, "NORM", 1 },
+ { <AC11>, "NORM", 1 },
+ { <RTRN>, "RTRN", 1, color="grey20" }
+ };
+ };
+ row {
+ top= 58;
+ left= 1;
+ keys {
+ { <LFSH>, "LFSH", 1, color="grey20" },
+ { <AB01>, "NORM", 1 }, { <AB02>, "NORM", 1 },
+ { <AB03>, "NORM", 1 }, { <AB04>, "NORM", 1 },
+ { <AB05>, "NORM", 1 }, { <AB06>, "NORM", 1 },
+ { <AB07>, "NORM", 1 }, { <AB08>, "NORM", 1 },
+ { <AB09>, "NORM", 1 }, { <AB10>, "NORM", 1 },
+ { <RTSH>, "RTSH", 1, color="grey20" }
+ };
+ };
+ row {
+ top= 77;
+ left= 1;
+ keys {
+ { <LCTL>, "MODK", 1, color="grey20" },
+ { <LWIN>, "SMOD", 1, color="grey20" },
+ { <LALT>, "SMOD", 1, color="grey20" },
+ { <SPCE>, "SPCE", 1 },
+ { <RALT>, "SMOD", 1, color="grey20" },
+ { <RWIN>, "SMOD", 1, color="grey20" },
+ { <MENU>, "SMOD", 1, color="grey20" },
+ { <RCTL>, "SMOD", 1, color="grey20" }
+ };
+ };
+ }; // End of "Alpha" section
+
+ section "Editing" {
+ key.color= "grey20";
+ priority= 9;
+ top= 61;
+ left= 312;
+ width= 58;
+ height= 95;
+ row {
+ top= 1;
+ left= 1;
+ keys {
+ { <INS>, "NORM", 1 }, { <HOME>, "NORM", 1 },
+ { <PGUP>, "NORM", 1 }
+ };
+ };
+ row {
+ top= 20;
+ left= 1;
+ keys {
+ { <DELE>, "NORM", 1 }, { <END>, "NORM", 1 },
+ { <PGDN>, "NORM", 1 }
+ };
+ };
+ row {
+ top= 58;
+ left= 20;
+ keys {
+ { <UP>, "NORM", 1 }
+ };
+ };
+ row {
+ top= 77;
+ left= 1;
+ keys {
+ { <LEFT>, "NORM", 1 }, { <DOWN>, "NORM", 1 },
+ { <RGHT>, "NORM", 1 }
+ };
+ };
+ }; // End of "Editing" section
+
+ section "Keypad" {
+ key.color= "grey20";
+ priority= 10;
+ top= 61;
+ left= 376;
+ width= 77;
+ height= 95;
+ row {
+ top= 1;
+ left= 1;
+ keys {
+ { <NMLK>, "NORM", 1 }, { <KPDV>, "NORM", 1 },
+ { <KPMU>, "NORM", 1 }, { <KPSU>, "NORM", 1 }
+ };
+ };
+ row {
+ top= 20;
+ left= 1;
+ keys {
+ { <KP7>, "NORM", 1, color="white" },
+ { <KP8>, "NORM", 1, color="white" },
+ { <KP9>, "NORM", 1, color="white" },
+ { <KPAD>, "KPAD", 1 }
+ };
+ };
+ row {
+ top= 39;
+ left= 1;
+ keys {
+ { <KP4>, "NORM", 1, color="white" },
+ { <KP5>, "NORM", 1, color="white" },
+ { <KP6>, "NORM", 1, color="white" }
+ };
+ };
+ row {
+ top= 58;
+ left= 1;
+ keys {
+ { <KP1>, "NORM", 1, color="white" },
+ { <KP2>, "NORM", 1, color="white" },
+ { <KP3>, "NORM", 1, color="white" },
+ { <KPEN>, "KPAD", 1 }
+ };
+ };
+ row {
+ top= 77;
+ left= 1;
+ keys {
+ { <KP0>, "KP0", 1, color="white" },
+ { <KPDL>, "NORM", 1, color="white" }
+ };
+ };
+ }; // End of "Keypad" section
+
+ solid "LedPanel" {
+ top= 22;
+ left= 377;
+ priority= 0;
+ color= "grey10";
+ shape= "LEDS";
+ };
+ indicator "Num Lock" {
+ top= 37;
+ left= 382;
+ priority= 1;
+ onColor= "green";
+ offColor= "green30";
+ shape= "LED";
+ };
+ indicator "Caps Lock" {
+ top= 37;
+ left= 407;
+ priority= 2;
+ onColor= "green";
+ offColor= "green30";
+ shape= "LED";
+ };
+ indicator "Scroll Lock" {
+ top= 37;
+ left= 433;
+ priority= 3;
+ onColor= "green";
+ offColor= "green30";
+ shape= "LED";
+ };
+ text "NumLockLabel" {
+ top= 25;
+ left= 378;
+ priority= 4;
+ width= 19.8;
+ height= 10;
+ XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
+ text= "Num\nLock";
+ };
+ text "CapsLockLabel" {
+ top= 25;
+ left= 403;
+ priority= 5;
+ width= 26.4;
+ height= 10;
+ XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
+ text= "Caps\nLock";
+ };
+ text "ScrollLockLabel" {
+ top= 25;
+ left= 428;
+ priority= 6;
+ width= 39.6;
+ height= 10;
+ XFont= "-*-helvetica-medium-r-normal--*-120-*-*-*-*-iso8859-1";
+ text= "Scroll\nLock";
+ };
+};
+
+};