1797b363dSmrg// Minimal set of symbol interpretations to provide 2797b363dSmrg// reasonable default behavior (Num lock, Shift lock, 3797b363dSmrg// Caps lock, and Mode switch) and set up the 4154daed1Smrg// automatic updating of common keyboard LEDs. 5154daed1Smrg 6797b363dSmrgdefault xkb_compatibility "basic" { 7797b363dSmrg 846185892Smrg virtual_modifiers NumLock; 9154daed1Smrg 10154daed1Smrg interpret.repeat= False; 11154daed1Smrg setMods.clearLocks= True; 12154daed1Smrg latchMods.clearLocks= True; 13154daed1Smrg latchMods.latchToLock= True; 14154daed1Smrg 15154daed1Smrg interpret Shift_Lock+AnyOf(Shift+Lock) { 16154daed1Smrg action= LockMods(modifiers=Shift); 17154daed1Smrg }; 18154daed1Smrg 19154daed1Smrg interpret Any+Lock { 20154daed1Smrg action= LockMods(modifiers=Lock); 21154daed1Smrg }; 22154daed1Smrg 23154daed1Smrg interpret Num_Lock+Any { 24154daed1Smrg virtualModifier= NumLock; 25154daed1Smrg action= LockMods(modifiers=NumLock); 26154daed1Smrg }; 27154daed1Smrg 28154daed1Smrg interpret Mode_switch { 29154daed1Smrg action= SetGroup(group=+1); 30154daed1Smrg }; 31154daed1Smrg 32154daed1Smrg interpret Any + Any { 33154daed1Smrg action= SetMods(modifiers=modMapMods); 34154daed1Smrg }; 35154daed1Smrg 3646185892Smrg group 2 = Mod5; 3746185892Smrg group 3 = Mod5; 3846185892Smrg group 4 = Mod5; 39154daed1Smrg 40154daed1Smrg include "ledcaps" 41154daed1Smrg include "lednum" 42154daed1Smrg indicator "Shift Lock" { 43154daed1Smrg !allowExplicit; 44154daed1Smrg whichModState= Locked; 45154daed1Smrg modifiers= Shift; 46154daed1Smrg }; 47154daed1Smrg}; 48