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