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

xtest (1457B)


  1. default xkb_compatibility "xtest" {
  2. // Minimal set of symbol interpretations to provide
  3. // reasonable behavior for testing.
  4. // The X Test Suite assumes that it can set any modifier
  5. // by simulating a KeyPress and clear it by simulating a
  6. // KeyRelease. Because of the way that XKB implements
  7. // locking/latching modifiers, this approach fails in
  8. // some cases (typically the Lock or NumLock modifiers).
  9. // These symbol interpretations make all modifier keys
  10. // just set the corresponding modifier so that xtest
  11. // will see the behavior it expects.
  12. virtual_modifiers NumLock,AltGr;
  13. interpret.repeat= False;
  14. setMods.clearLocks= True;
  15. latchMods.clearLocks= True;
  16. latchMods.latchToLock= False;
  17. interpret Shift_Lock+AnyOf(Shift+Lock) {
  18. action= SetMods(modifiers=Shift);
  19. };
  20. interpret Num_Lock+Any {
  21. virtualModifier= NumLock;
  22. action= SetMods(modifiers=NumLock);
  23. };
  24. interpret Mode_switch {
  25. useModMapMods= level1;
  26. virtualModifier= AltGr;
  27. action= SetGroup(group=2);
  28. };
  29. interpret Any + Any {
  30. action= SetMods(modifiers=modMapMods);
  31. };
  32. group 2 = AltGr;
  33. group 3 = AltGr;
  34. group 4 = AltGr;
  35. indicator.allowExplicit= False;
  36. indicator "Caps Lock" {
  37. modifiers= Lock;
  38. };
  39. indicator "Num Lock" {
  40. modifiers= NumLock;
  41. };
  42. indicator "Shift Lock" {
  43. whichModState= Locked;
  44. modifiers= Shift;
  45. };
  46. indicator.allowExplicit= True;
  47. };