1 default xkb_compatibility "edc" {
3 //------------------------------------------------------------------------------------------
4 // the xserver will want at lead a virtual modifiers "properly" defined, so this is only
5 // to make it work, we don't care aboun the num lock in this layout.
6 virtual_modifiers NumLock;
8 interpret Num_Lock+Any {
9 virtualModifier = NumLock;
10 action = LockMods(modifiers=NumLock);
12 //------------------------------------------------------------------------------------------
14 // Explicit core protocol modifiers.
15 // setmods action is defined as "those modifiers are on while the key is pressed"
16 // latchmods action is defined as "those modifiers are on only for the following pressed
17 // key" (you can release the modifier key, the modifier will be applied to the following
19 // lockmods action is defined as a classic on/off toggle.
21 action = setmods(modifiers=shift);
24 action = setmods(modifiers=shift);
27 action = setmods(modifiers=mod1);
30 action = setmods(modifiers=control);
33 action = setmods(modifiers=control);
35 // We don't use it, but let's keep it around.
37 action = setmods(modifiers=lock);