logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

olpc (1001B)


  1. //
  2. // Map the OLPC game keys to virtual modifiers.
  3. //
  4. // Created by Bernardo Innocenti <bernie@codewiz.org>
  5. //
  6. default xkb_compatibility "olpc" {
  7. include "complete"
  8. virtual_modifiers Square,Cross,Triangle,Circle;
  9. interpret KP_Home+Any {
  10. virtualModifier= Square;
  11. action = SetMods(modifiers=modMapMods);
  12. };
  13. interpret KP_Home {
  14. action = SetMods(modifiers=Square);
  15. };
  16. interpret KP_Next+Any {
  17. virtualModifier= Cross;
  18. action = SetMods(modifiers=modMapMods);
  19. };
  20. interpret KP_Next {
  21. action = SetMods(modifiers=Cross);
  22. };
  23. interpret KP_End+Any {
  24. virtualModifier= Circle;
  25. action = SetMods(modifiers=modMapMods);
  26. };
  27. interpret KP_End {
  28. action = SetMods(modifiers=Circle);
  29. };
  30. interpret KP_Prior+Any {
  31. virtualModifier= Triangle;
  32. action = SetMods(modifiers=modMapMods);
  33. };
  34. interpret KP_Prior {
  35. action = SetMods(modifiers=Triangle);
  36. };
  37. };