2014-05-05 12:05:33 -06:00
|
|
|
// Minimal set of symbol interpretations to provide
|
|
|
|
// reasonable default behavior (Num lock, Shift lock,
|
|
|
|
// and Mode switch) and set up the automatic updating
|
|
|
|
// of common keyboard LEDs.
|
2009-06-06 11:52:23 -06:00
|
|
|
|
2014-05-05 12:05:33 -06:00
|
|
|
default xkb_compatibility "basic" {
|
|
|
|
|
|
|
|
virtual_modifiers NumLock,AltGr;
|
2009-06-06 11:52:23 -06:00
|
|
|
|
|
|
|
interpret.repeat= False;
|
|
|
|
setMods.clearLocks= True;
|
|
|
|
latchMods.clearLocks= True;
|
|
|
|
latchMods.latchToLock= True;
|
|
|
|
|
|
|
|
interpret Shift_Lock+AnyOf(Shift+Lock) {
|
|
|
|
action= LockMods(modifiers=Shift);
|
|
|
|
};
|
|
|
|
|
|
|
|
// interpret Any+Lock {
|
|
|
|
// action= LockMods(modifiers=Lock);
|
2014-05-05 12:05:33 -06:00
|
|
|
// };
|
2009-06-06 11:52:23 -06:00
|
|
|
|
|
|
|
interpret Num_Lock+Any {
|
|
|
|
virtualModifier= NumLock;
|
|
|
|
action= LockMods(modifiers=NumLock);
|
|
|
|
};
|
|
|
|
|
|
|
|
interpret Mode_switch {
|
|
|
|
useModMapMods= level1;
|
|
|
|
virtualModifier= AltGr;
|
|
|
|
action= SetGroup(group=2,clearLocks);
|
|
|
|
};
|
|
|
|
|
|
|
|
interpret Any + Any {
|
|
|
|
action= SetMods(modifiers=modMapMods);
|
|
|
|
};
|
|
|
|
|
|
|
|
group 2 = AltGr;
|
|
|
|
group 3 = AltGr;
|
|
|
|
group 4 = AltGr;
|
|
|
|
|
|
|
|
indicator.allowExplicit= False;
|
2014-05-05 12:05:33 -06:00
|
|
|
indicator "Caps Lock" {
|
2009-06-06 11:52:23 -06:00
|
|
|
whichModState= Locked;
|
|
|
|
modifiers= Lock;
|
|
|
|
};
|
|
|
|
indicator "Num Lock" {
|
|
|
|
whichModState= Locked;
|
|
|
|
modifiers= NumLock;
|
|
|
|
};
|
|
|
|
indicator "Shift Lock" {
|
|
|
|
whichModState= Locked;
|
|
|
|
modifiers= Shift;
|
|
|
|
};
|
|
|
|
indicator.allowExplicit= True;
|
|
|
|
};
|