Edit

kc3-lang/libxkbcommon/test/data/keymaps/merge-modes/replace.xkb

Branch :

  • Browse

    Commit

  • Author : Peter Hutterer
    Date : 2024-02-14 09:47:15
    Hash : 7a7a3b38
    Message : keymap: Canonically map unmapped virtual modifiers Traditionally, *virtual* modifiers were merely name aliases for *real* modifiers (X *core* modifiers), e.g. `NumLock` was usually mapped to `Mod2` (see `modifier_map` statement). Virtual modifiers that were never mapped to a real ones had no effect on the keymap state. xkbcommon already supports the concept of “pure” virtual modifiers, i.e. virtual modifiers that are *encoded* using the full 32-bit range, not just the first 8 bits corresponding to the real modifiers. But until this commit, one had to declare such mapping *explicitly*: e.g. `virtual_modifiers M = 0x100;`. This has at least two drawbacks: - Numerical values may look quite arbitrary and are not user-friendly. It’s OK in the resulting compiled keymap, but it requires careful sync between sections when developing KcCGST files. - If the modifier is *also* mapped *implicitly* using the traditional `vmodmap`/`modifier_map`, then both mappings are OR-combined. This patch enables to automatically map unmapped virtual modifiers to their *canonical* mapping, i.e. themselves: their corresponding virtual and real modifier masks are identical: `1u << mod_index`. Since this feature is incompatible with X11, this is guarded by requiring at least keymap text format **v2**. Note that for now, canonical virtual modifiers cannot be used in an interpret action’s `AnyOf()`. An interpret action for a canonical virtual modifier must be `AnyOfOrNone()` to take effect: virtual_modifiers APureMod, …; interpret a+AnyOfOrNone(all) { virtualModifier= APureMod; action= SetMods(modifiers=APureMod); }; The above adds a virtual modifier `APureMod` for keysym `a`. It will be canonical iff it is not mapped implicitly.

  • test/data/keymaps/merge-modes/replace.xkb
  • xkb_keymap {
    xkb_keycodes "" {
    	minimum = 8;
    	maximum = 255;
    	<T001>               = 9;
    	<T002>               = 10;
    	<T003>               = 11;
    	<T004>               = 12;
    	<T005>               = 13;
    	<T006>               = 14;
    	<T007>               = 15;
    	<T008>               = 16;
    	<T009>               = 17;
    	<T010>               = 18;
    	<T011>               = 19;
    	<T012>               = 20;
    	<T013>               = 21;
    	<T014>               = 22;
    	<T015>               = 23;
    	<T016>               = 24;
    	<T017>               = 25;
    	<T018>               = 26;
    	<T020>               = 28;
    	<T021>               = 29;
    	<T022>               = 30;
    	<T023>               = 31;
    	<T024>               = 32;
    	<T025>               = 33;
    	<T026>               = 34;
    	<T027>               = 35;
    	<T028>               = 36;
    	<T029>               = 37;
    	<T030>               = 38;
    	<T031>               = 39;
    	<T032>               = 40;
    	<T033>               = 41;
    	<T034>               = 42;
    	<T035>               = 43;
    	<T036>               = 44;
    	<T037>               = 45;
    	<T038>               = 46;
    	<T039>               = 47;
    	<T043>               = 51;
    	<T044>               = 52;
    	<T045>               = 53;
    	<T046>               = 54;
    	<T047>               = 55;
    	<T048>               = 56;
    	<T049>               = 57;
    	<T050>               = 58;
    	<T051>               = 59;
    	<T052>               = 60;
    	<T053>               = 61;
    	<T054>               = 62;
    	<T055>               = 63;
    	<T056>               = 64;
    	<T057>               = 65;
    	<T060>               = 68;
    	<T061>               = 69;
    	<T062>               = 70;
    	<T063>               = 71;
    	<T064>               = 72;
    	<T065>               = 73;
    	<T066>               = 74;
    	<T067>               = 75;
    	<T068>               = 76;
    	<T069>               = 77;
    	<T070>               = 78;
    	<T071>               = 79;
    	<T072>               = 80;
    	<T073>               = 81;
    	<T074>               = 82;
    	<T075>               = 83;
    	<T076>               = 84;
    	<T077>               = 85;
    	<T078>               = 86;
    	<T079>               = 87;
    	<T080>               = 88;
    	<T081>               = 89;
    	<T085>               = 93;
    	<T086>               = 94;
    	<T087>               = 95;
    	<T088>               = 96;
    	<T089>               = 97;
    	<T090>               = 98;
    	<T091>               = 99;
    	<T092>               = 100;
    	<T093>               = 101;
    	<T094>               = 102;
    	<T095>               = 103;
    	<T096>               = 104;
    	<T097>               = 105;
    	<T098>               = 106;
    	<T099>               = 107;
    	<T103>               = 111;
    	<T104>               = 112;
    	<T105>               = 113;
    	<T106>               = 114;
    	<T107>               = 115;
    	<T108>               = 116;
    	<T109>               = 117;
    	<T110>               = 118;
    	<T111>               = 119;
    	<T112>               = 120;
    	<T113>               = 121;
    	<T114>               = 122;
    	<T115>               = 123;
    	<T116>               = 124;
    	<T117>               = 125;
    	<T118>               = 126;
    	<T119>               = 127;
    	<T120>               = 128;
    	<T121>               = 129;
    	<T122>               = 130;
    	<T123>               = 131;
    	<T124>               = 132;
    	<T125>               = 133;
    	<T126>               = 134;
    	<T127>               = 135;
    	<T128>               = 136;
    	<T129>               = 137;
    	<T130>               = 138;
    	<T131>               = 139;
    	<T132>               = 140;
    	<T133>               = 141;
    	<T134>               = 142;
    	<T135>               = 143;
    	<T136>               = 144;
    	<T137>               = 145;
    	<T138>               = 146;
    	<T139>               = 147;
    	<T140>               = 148;
    	<T141>               = 149;
    	<T142>               = 150;
    	<T143>               = 151;
    	<T144>               = 152;
    	<T145>               = 153;
    	<T146>               = 154;
    	<T147>               = 155;
    	<T150>               = 158;
    	<T153>               = 161;
    	<T156>               = 164;
    	<T159>               = 167;
    	<T162>               = 170;
    	<T165>               = 173;
    	<T168>               = 176;
    	<T171>               = 179;
    	<T174>               = 182;
    	<T177>               = 185;
    	<T180>               = 188;
    	<T183>               = 191;
    	<T186>               = 194;
    	<T189>               = 197;
    	<T192>               = 200;
    	<T204>               = 212;
    	<T207>               = 215;
    	<T210>               = 218;
    	<1>                  = 241;
    	<3>                  = 243;
    	<2>                  = 244;
    	indicator 1 = "Caps Lock";
    	indicator 2 = "Kana";
    	indicator 4 = "XXXX";
    	indicator 5 = "Scroll Lock";
    	indicator 6 = "Num Lock";
    	indicator 7 = "Suspend";
    	alias <A>            = <1>;
    	alias <B>            = <3>;
    	alias <C>            = <3>;
    };
    
    xkb_types "" {
    	virtual_modifiers NumLock=Mod2,LevelThree=Mod5,LevelFive=Mod3,U1=0x800,U2=none,U3=0x300000,Z1=none,Z2=none,Z3=0x310000,M1=0x1000,M2=none,M3=0x320000,U7=0x100000,Z7=none,M7=0x700000;
    
    	type "ONE_LEVEL" {
    		modifiers= none;
    		level_name[1]= "New";
    	};
    	type "TWO_LEVEL" {
    		modifiers= Shift+M1;
    		map[Shift]= 2;
    		map[M1]= 2;
    		level_name[1]= "Base";
    		level_name[2]= "Shift";
    	};
    	type "ALPHABETIC" {
    		modifiers= Lock;
    		map[none]= 2;
    		level_name[1]= "Base";
    		level_name[2]= "Caps";
    	};
    	type "KEYPAD" {
    		modifiers= Shift+NumLock;
    		map[Shift]= 2;
    		map[NumLock]= 2;
    		level_name[1]= "Base";
    		level_name[2]= "Number";
    	};
    	type "FOUR_LEVEL" {
    		modifiers= Shift+LevelThree;
    		map[Shift]= 2;
    		map[LevelThree]= 3;
    		map[Shift+LevelThree]= 4;
    		level_name[1]= "Base";
    		level_name[2]= "Shift";
    		level_name[3]= "Alt Base";
    		level_name[4]= "Shift Alt";
    	};
    	type "FOUR_LEVEL_ALPHABETIC" {
    		modifiers= Shift+Lock+LevelThree;
    		map[Shift]= 2;
    		map[Lock]= 2;
    		map[LevelThree]= 3;
    		map[Shift+LevelThree]= 4;
    		map[Lock+LevelThree]= 4;
    		map[Shift+Lock+LevelThree]= 3;
    		level_name[1]= "Base";
    		level_name[2]= "Shift";
    		level_name[3]= "Alt Base";
    		level_name[4]= "Shift Alt";
    	};
    	type "FOUR_LEVEL_SEMIALPHABETIC" {
    		modifiers= Shift+Lock+LevelThree;
    		map[Shift]= 2;
    		map[Lock]= 2;
    		map[LevelThree]= 3;
    		map[Shift+LevelThree]= 4;
    		map[Lock+LevelThree]= 3;
    		preserve[Lock+LevelThree]= Lock;
    		map[Shift+Lock+LevelThree]= 4;
    		preserve[Shift+Lock+LevelThree]= Lock;
    		level_name[1]= "Base";
    		level_name[2]= "Shift";
    		level_name[3]= "Alt Base";
    		level_name[4]= "Shift Alt";
    	};
    	type "XXX" {
    		modifiers= Shift+Lock+LevelThree;
    		map[Shift]= 2;
    		map[Shift+LevelThree]= 4;
    		level_name[1]= "A";
    		level_name[2]= "2";
    		level_name[3]= "3";
    		level_name[4]= "4";
    	};
    	type "YYY" {
    		modifiers= none;
    		level_name[1]= "New";
    	};
    };
    
    xkb_compatibility "" {
    	virtual_modifiers NumLock=Mod2,LevelThree=Mod5,LevelFive=Mod3,U1=0x800,U2=none,U3=0x300000,Z1=none,Z2=none,Z3=0x310000,M1=0x1000,M2=none,M3=0x320000,U7=0x100000,Z7=none,M7=0x700000;
    
    	interpret.useModMapMods= AnyLevel;
    	interpret.repeat= False;
    	interpret Caps_Lock+AnyOfOrNone(all) {
    		action= LockMods(modifiers=NumLock);
    	};
    	interpret Any+AnyOf(all) {
    		action= SetMods(modifiers=modMapMods);
    	};
    	indicator "Caps Lock" {
    		whichModState= locked;
    		modifiers= Lock;
    	};
    	indicator "Kana" {
    		whichModState= locked;
    		modifiers= Control;
    	};
    	indicator "Num Lock" {
    		whichModState= base;
    		modifiers= Lock;
    	};
    };
    
    xkb_symbols "" {
    	key <T004>               {	[     Greek_alpha ] };
    	key <T005>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T006>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T010>               {	[               a ] };
    	key <T011>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=2) ]
    	};
    	key <T012>               {
    		repeat= No,
    		symbols[1]= [                              a ],
    		actions[1]= [              SetGroup(group=2) ]
    	};
    	key <T013>               {	[               a,        { A, Y } ] };
    	key <T014>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=2), {              SetGroup(group=2),     SetMods(modifiers=Control) } ]
    	};
    	key <T015>               {
    		repeat= No,
    		symbols[1]= [                              a, {                              A,                              Y } ],
    		actions[1]= [              SetGroup(group=2), {              SetGroup(group=2),     SetMods(modifiers=Control) } ]
    	};
    	key <T016>               {	[     Greek_alpha ] };
    	key <T017>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T018>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T020>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T021>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T022>               {	[     Greek_alpha ] };
    	key <T023>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T024>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T025>               {	[     Greek_alpha,     Greek_ALPHA,     Greek_alpha,        NoSymbol ] };
    	key <T026>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol,                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3),              SetGroup(group=3),                     NoAction() ]
    	};
    	key <T027>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA,                    Greek_alpha,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3),              SetGroup(group=3),                     NoAction() ]
    	};
    	key <T028>               {	[     Greek_alpha,     Greek_ALPHA ] };
    	key <T029>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T030>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T034>               {	[     Greek_alpha ] };
    	key <T035>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T036>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T037>               {	[        NoSymbol,     Greek_ALPHA ] };
    	key <T038>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T039>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                    Greek_ALPHA ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T043>               {	[     Greek_alpha,     Greek_ALPHA ] };
    	key <T044>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T045>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T049>               {	[     Greek_alpha ] };
    	key <T050>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T051>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T052>               {	[        NoSymbol,     Greek_ALPHA ] };
    	key <T053>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T054>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                    Greek_ALPHA ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T055>               {	[     Greek_alpha,     Greek_ALPHA ] };
    	key <T056>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T057>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T060>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                              X ],
    		actions[1]= [              SetGroup(group=3),                     NoAction() ]
    	};
    	key <T061>               {	[     Greek_alpha ] };
    	key <T062>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T063>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T064>               {	[     Greek_alpha ] };
    	key <T065>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T066>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T067>               {	[        NoSymbol,     Greek_ALPHA ] };
    	key <T068>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T069>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                    Greek_ALPHA ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T070>               {	[        NoSymbol,     Greek_ALPHA ] };
    	key <T071>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T072>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                    Greek_ALPHA ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T073>               {	[     Greek_alpha,     Greek_ALPHA ] };
    	key <T074>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T075>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T076>               {	[ { Greek_alpha, Greek_upsilon }, { Greek_ALPHA, Greek_UPSILON } ] };
    	key <T077>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T078>               {
    		repeat= No,
    		symbols[1]= [ {                    Greek_alpha,                  Greek_upsilon }, {                    Greek_ALPHA,                  Greek_UPSILON } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T079>               {	[     Greek_alpha ] };
    	key <T080>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T081>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T085>               {	[     Greek_alpha ] };
    	key <T086>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T087>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    	key <T088>               {	[        NoSymbol,     Greek_ALPHA ] };
    	key <T089>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T090>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                    Greek_ALPHA ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T091>               {	[        NoSymbol,     Greek_ALPHA ] };
    	key <T092>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T093>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                    Greek_ALPHA ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T094>               {	[     Greek_alpha,     Greek_ALPHA ] };
    	key <T095>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T096>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T097>               {	[ { Greek_alpha, Greek_upsilon }, { Greek_ALPHA, Greek_UPSILON } ] };
    	key <T098>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T099>               {
    		repeat= No,
    		symbols[1]= [ {                    Greek_alpha,                  Greek_upsilon }, {                    Greek_ALPHA,                  Greek_UPSILON } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T103>               {	[        NoSymbol, { Greek_ALPHA, Greek_UPSILON } ] };
    	key <T104>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(), {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T105>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol, {                    Greek_ALPHA,                  Greek_UPSILON } ],
    		actions[1]= [                     NoAction(), {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T106>               {	[     Greek_alpha,      Greek_BETA ] };
    	key <T107>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T108>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                     Greek_BETA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T109>               {	[ { Greek_alpha, Greek_upsilon }, { Greek_ALPHA, Greek_UPSILON } ] };
    	key <T110>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T111>               {
    		repeat= No,
    		symbols[1]= [ {                    Greek_alpha,                  Greek_upsilon }, {                    Greek_ALPHA,                  Greek_UPSILON } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T112>               {	[     Greek_alpha,      Greek_BETA ] };
    	key <T113>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T114>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                     Greek_BETA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T115>               {	[ { Greek_alpha, Greek_upsilon }, { Greek_XI, Greek_BETA } ] };
    	key <T116>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {        SetMods(modifiers=Mod5),              SetGroup(group=3) } ]
    	};
    	key <T117>               {
    		repeat= No,
    		symbols[1]= [ {                    Greek_alpha,                  Greek_upsilon }, {                       Greek_XI,                     Greek_BETA } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {        SetMods(modifiers=Mod5),              SetGroup(group=3) } ]
    	};
    	key <T118>               {	[        NoSymbol, { Greek_ALPHA, Greek_UPSILON } ] };
    	key <T119>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [                     NoAction(), {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T120>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol, {                    Greek_ALPHA,                  Greek_UPSILON } ],
    		actions[1]= [                     NoAction(), {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T121>               {	[     Greek_alpha,      Greek_BETA ] };
    	key <T122>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T123>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                     Greek_BETA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T127>               {	[ { Greek_alpha, Greek_xi }, { Greek_XI, Greek_BETA } ] };
    	key <T128>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {        SetMods(modifiers=Mod5),              SetGroup(group=3) } ]
    	};
    	key <T129>               {
    		repeat= No,
    		symbols[1]= [ {                    Greek_alpha,                       Greek_xi }, {                       Greek_XI,                     Greek_BETA } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {        SetMods(modifiers=Mod5),              SetGroup(group=3) } ]
    	};
    	key <T133>               {	[ { Greek_alpha, Greek_xi }, { Greek_XI, Greek_BETA } ] };
    	key <T134>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {        SetMods(modifiers=Mod5),              SetGroup(group=3) } ]
    	};
    	key <T135>               {
    		repeat= No,
    		symbols[1]= [ {                    Greek_alpha,                       Greek_xi }, {                       Greek_XI,                     Greek_BETA } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {        SetMods(modifiers=Mod5),              SetGroup(group=3) } ]
    	};
    	key <T139>               {	[     Greek_alpha,     Greek_ALPHA ] };
    	key <T140>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T141>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T145>               {	[     Greek_alpha,     Greek_ALPHA ] };
    	key <T146>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T147>               {
    		repeat= No,
    		symbols[1]= [                    Greek_alpha,                    Greek_ALPHA ],
    		actions[1]= [              SetGroup(group=3),              SetGroup(group=3) ]
    	};
    	key <T150>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T153>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) },              SetGroup(group=3) ]
    	};
    	key <T156>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) },              SetGroup(group=3) ]
    	};
    	key <T159>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol, {                              X,                              Y } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) },                     NoAction() ]
    	};
    	key <T162>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                              X ],
    		actions[1]= [              SetGroup(group=3),                     NoAction() ]
    	};
    	key <T165>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol, {                              X,                              Y } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) },                     NoAction() ]
    	};
    	key <T168>               {
    		repeat= No,
    		symbols[1]= [ {                              x,                              y }, {                              X,                              Y } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) }, {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T171>               {
    		repeat= No,
    		symbols[1]= [                              x, {                              X,                              Y } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) },              SetGroup(group=3) ]
    	};
    	key <T174>               {
    		repeat= No,
    		symbols[1]= [                              x,                       NoSymbol ],
    		actions[1]= [                     NoAction(),              SetGroup(group=3) ]
    	};
    	key <T177>               {
    		repeat= No,
    		symbols[1]= [ {                              x,                              y },                       NoSymbol ],
    		actions[1]= [                     NoAction(), {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T180>               {
    		repeat= No,
    		symbols[1]= [                              y, {                              X,                              Y } ],
    		actions[1]= [              SetGroup(group=3), {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T183>               {
    		repeat= No,
    		symbols[1]= [                              y,                              X ],
    		actions[1]= [        SetMods(modifiers=Mod5),              SetGroup(group=3) ]
    	};
    	key <T186>               {
    		repeat= No,
    		symbols[1]= [                       NoSymbol,                       NoSymbol ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) },              SetGroup(group=3) ]
    	};
    	key <T189>               {	[        { A, B },               a ] };
    	key <T192>               {
    		repeat= No,
    		symbols[1]= [ {                              x,                              y },                              X ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) },              SetGroup(group=3) ]
    	};
    	key <T204>               {
    		repeat= No,
    		symbols[1]= [ {                              A,                              A } ],
    		actions[1]= [ {              SetGroup(group=3),        SetMods(modifiers=Mod5) } ]
    	};
    	key <T207>               {
    		repeat= No,
    		symbols[1]= [                              Y ],
    		actions[1]= [              SetGroup(group=3) ]
    	};
    };
    
    };