1// Minimal set of symbol interpretations to provide 2// reasonable default behavior (Num lock, Shift lock, 3// Caps lock, and Mode switch) and set up the 4// automatic updating of common keyboard LEDs. 5 6default xkb_compatibility "basic" { 7 8 virtual_modifiers NumLock; 9 10 interpret.repeat= False; 11 setMods.clearLocks= True; 12 latchMods.clearLocks= True; 13 latchMods.latchToLock= True; 14 15 interpret Shift_Lock+AnyOf(Shift+Lock) { 16 action= LockMods(modifiers=Shift); 17 }; 18 19 interpret Any+Lock { 20 action= LockMods(modifiers=Lock); 21 }; 22 23 interpret Num_Lock+Any { 24 virtualModifier= NumLock; 25 action= LockMods(modifiers=NumLock); 26 }; 27 28 interpret Mode_switch { 29 action= SetGroup(group=+1); 30 }; 31 32 interpret Any + Any { 33 action= SetMods(modifiers=modMapMods); 34 }; 35 36 group 2 = Mod5; 37 group 3 = Mod5; 38 group 4 = Mod5; 39 40 include "ledcaps" 41 include "lednum" 42 indicator "Shift Lock" { 43 !allowExplicit; 44 whichModState= Locked; 45 modifiers= Shift; 46 }; 47}; 48