xenocara/dist/xkeyboard-config/compat/olpc

52 lines
1.1 KiB
Plaintext
Raw Normal View History

2009-06-06 11:52:23 -06:00
//
// Map the OLPC game keys to virtual modifiers.
2009-06-06 11:52:23 -06:00
//
// Created by Bernardo Innocenti <bernie@codewiz.org>
2009-06-06 11:52:23 -06:00
//
default xkb_compatibility "olpc" {
2009-06-06 11:52:23 -06:00
include "complete"
virtual_modifiers Square,Cross,Triangle,Circle;
interpret KP_Home+Any {
2009-06-06 11:52:23 -06:00
//useModMapMods= level1;
virtualModifier= Square;
action = SetMods(modifiers=modMapMods);
2009-06-06 11:52:23 -06:00
};
interpret KP_Home {
action = SetMods(modifiers=Square);
2009-06-06 11:52:23 -06:00
};
interpret KP_Next+Any {
2009-06-06 11:52:23 -06:00
//useModMapMods= level1;
virtualModifier= Cross;
action = SetMods(modifiers=modMapMods);
2009-06-06 11:52:23 -06:00
};
interpret KP_Next {
action = SetMods(modifiers=Cross);
2009-06-06 11:52:23 -06:00
};
interpret KP_End+Any {
2009-06-06 11:52:23 -06:00
//useModMapMods= level1;
virtualModifier= Circle;
action = SetMods(modifiers=modMapMods);
2009-06-06 11:52:23 -06:00
};
interpret KP_End {
action = SetMods(modifiers=Circle);
2009-06-06 11:52:23 -06:00
};
interpret KP_Prior+Any {
2009-06-06 11:52:23 -06:00
//useModMapMods= level1;
virtualModifier= Triangle;
action = SetMods(modifiers=modMapMods);
2009-06-06 11:52:23 -06:00
};
interpret KP_Prior {
action = SetMods(modifiers=Triangle);
2009-06-06 11:52:23 -06:00
};
};