Initial commit
[xkb-data.git] / xkb / compat / edc
blobf428addb56ac314439d31109f9dab49dfba2286d
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);
11         };
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
18         // key press only).
19         // lockmods action is defined as a classic on/off toggle.
20         interpret Shift_L {
21                 action = setmods(modifiers=shift);
22         };
23         interpret Shift_R {
24                 action = setmods(modifiers=shift);
25         };
26         interpret Alt_L {
27                 action = setmods(modifiers=mod1);
28         };
29         interpret Control_L {
30                 action = setmods(modifiers=control);
31         };
32         interpret Control_R {
33                 action = setmods(modifiers=control);
34         };
35         // We don't use it, but let's keep it around.
36         interpret Caps_Lock {
37                 action = setmods(modifiers=lock);
38         };