caps is not in the compat section
[xorg/xkeyboard-config] / compat / olpc
1 // $XKeyboardConfig$
2 //
3 // Created by Bernardo Innocenti <bernie@codewiz.org>
4 //
5 // Map the OLPC game keys to virtual modifiers
6 //
7
8 default xkb_compatibility "olpc"  {
9     include "complete"
10
11     virtual_modifiers  Square,Cross,Triangle,Circle;
12
13     interpret KP_Home+Any     {
14         //useModMapMods= level1;
15        virtualModifier= Square;
16        action = SetMods(modifiers=modMapMods);
17     };
18
19     interpret KP_Home  {
20        action = SetMods(modifiers=Square);
21     };
22
23     interpret KP_Next+Any     {
24         //useModMapMods= level1;
25        virtualModifier= Cross;
26        action = SetMods(modifiers=modMapMods);
27     };
28
29     interpret KP_Next  {
30        action = SetMods(modifiers=Cross);
31     };
32
33     interpret KP_End+Any     {
34         //useModMapMods= level1;
35        virtualModifier= Circle;
36        action = SetMods(modifiers=modMapMods);
37     };
38
39     interpret KP_End   {
40        action = SetMods(modifiers=Circle);
41     };
42
43     interpret KP_Prior+Any     {
44         //useModMapMods= level1;
45        virtualModifier= Triangle;
46        action = SetMods(modifiers=modMapMods);
47     };
48
49     interpret KP_Prior {
50        action = SetMods(modifiers=Triangle);
51     };
52 };