1// Fairly complete set of symbol interpretations 2// to provide reasonable default behavior. 3 4default partial xkb_compatibility "default" { 5 6 virtual_modifiers LevelThree,AltGr; 7 8 interpret.repeat= False; 9 setMods.clearLocks= True; 10 latchMods.clearLocks= True; 11 latchMods.latchToLock= True; 12 13 interpret ISO_Level2_Latch+Shift { 14 useModMapMods= level1; 15 action= LatchMods(modifiers=Shift); 16 }; 17 18 interpret ISO_Level3_Shift+Any { 19 useModMapMods= level1; 20 virtualModifier= LevelThree; 21 action= SetMods(modifiers=LevelThree); 22 }; 23 24 interpret ISO_Level3_Shift { 25 action= SetMods(modifiers=LevelThree); 26 }; 27 28 interpret ISO_Level3_Latch+Any { 29 useModMapMods= level1; 30 virtualModifier= LevelThree; 31 action= LatchMods(modifiers=LevelThree); 32 }; 33 34 interpret ISO_Level3_Latch { 35 action= LatchMods(modifiers=LevelThree); 36 }; 37 38 interpret ISO_Level3_Lock+Any { 39 useModMapMods= level1; 40 virtualModifier= LevelThree; 41 action= LockMods(modifiers=LevelThree); 42 }; 43 44 interpret ISO_Level3_Lock { 45 action= LockMods(modifiers=LevelThree); 46 }; 47 48 interpret ISO_Group_Latch { 49 useModMapMods= level1; 50 virtualModifier= AltGr; 51 action= LatchGroup(group=2); 52 }; 53 54 interpret ISO_Next_Group { 55 useModMapMods= level1; 56 virtualModifier= AltGr; 57 action= LockGroup(group=+1); 58 }; 59 60 interpret ISO_Prev_Group { 61 useModMapMods= level1; 62 virtualModifier= AltGr; 63 action= LockGroup(group=-1); 64 }; 65 interpret ISO_First_Group { 66 action= LockGroup(group=1); 67 }; 68 69 interpret ISO_Last_Group { 70 action= LockGroup(group=2); 71 }; 72 73 indicator "Group 2" { 74 !allowExplicit; 75 groups= All-Group1; 76 }; 77}; 78