1
0

level5 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. // Fairly complete set of symbol interpretations
  2. // to provide reasonable default behavior.
  3. default partial xkb_compatibility "default" {
  4. virtual_modifiers LevelFive;
  5. interpret.repeat= False;
  6. setMods.clearLocks= True;
  7. latchMods.clearLocks= True;
  8. latchMods.latchToLock= True;
  9. interpret ISO_Level5_Shift+Any {
  10. useModMapMods= level1;
  11. virtualModifier= LevelFive;
  12. action= SetMods(modifiers=LevelFive);
  13. };
  14. interpret ISO_Level5_Shift {
  15. action= SetMods(modifiers=LevelFive);
  16. };
  17. interpret ISO_Level5_Latch+Any {
  18. useModMapMods= level1;
  19. virtualModifier= LevelFive;
  20. action= LatchMods(modifiers=LevelFive);
  21. };
  22. interpret ISO_Level5_Latch {
  23. action= LatchMods(modifiers=LevelFive);
  24. };
  25. interpret ISO_Level5_Lock+Any {
  26. useModMapMods= level1;
  27. virtualModifier= LevelFive;
  28. action= LockMods(modifiers=LevelFive);
  29. };
  30. interpret ISO_Level5_Lock {
  31. action= LockMods(modifiers=LevelFive);
  32. };
  33. };
  34. partial xkb_compatibility "level5_lock" {
  35. // This defines a Level5-Lock using the NumLock real modifier
  36. // in order to create arbitrary level-behaviour, which would
  37. // not be possible with the virtual modifier.
  38. // See also: types/level5 : EIGHT_LEVEL_LEVEL_FIVE_LOCK
  39. // See also: symbols/level5(lock)
  40. virtual_modifiers NumLock;
  41. interpret ISO_Level5_Lock {
  42. action = LockMods(modifiers = NumLock);
  43. };
  44. };