3 // Created by Bernardo Innocenti <bernie@codewiz.org>
5 // Map the OLPC game keys to virtual modifiers
8 default xkb_compatibility "olpc" {
11 virtual_modifiers Square,Cross,Triangle,Circle;
13 interpret KP_Home+Any {
14 //useModMapMods= level1;
15 virtualModifier= Square;
16 action = SetMods(modifiers=modMapMods);
20 action = SetMods(modifiers=Square);
23 interpret KP_Next+Any {
24 //useModMapMods= level1;
25 virtualModifier= Cross;
26 action = SetMods(modifiers=modMapMods);
30 action = SetMods(modifiers=Cross);
33 interpret KP_End+Any {
34 //useModMapMods= level1;
35 virtualModifier= Circle;
36 action = SetMods(modifiers=modMapMods);
40 action = SetMods(modifiers=Circle);
43 interpret KP_Prior+Any {
44 //useModMapMods= level1;
45 virtualModifier= Triangle;
46 action = SetMods(modifiers=modMapMods);
50 action = SetMods(modifiers=Triangle);