2 // Created by Bernardo Innocenti <bernie@codewiz.org>
4 // Map the OLPC game keys to virtual modifiers
7 default xkb_compatibility "olpc" {
10 virtual_modifiers Square,Cross,Triangle,Circle;
12 interpret KP_Home+Any {
13 //useModMapMods= level1;
14 virtualModifier= Square;
15 action = SetMods(modifiers=modMapMods);
19 action = SetMods(modifiers=Square);
22 interpret KP_Next+Any {
23 //useModMapMods= level1;
24 virtualModifier= Cross;
25 action = SetMods(modifiers=modMapMods);
29 action = SetMods(modifiers=Cross);
32 interpret KP_End+Any {
33 //useModMapMods= level1;
34 virtualModifier= Circle;
35 action = SetMods(modifiers=modMapMods);
39 action = SetMods(modifiers=Circle);
42 interpret KP_Prior+Any {
43 //useModMapMods= level1;
44 virtualModifier= Triangle;
45 action = SetMods(modifiers=modMapMods);
49 action = SetMods(modifiers=Triangle);