1797b363dSmrg// Fairly complete set of symbol interpretations
2797b363dSmrg// to provide reasonable default behavior.
3154daed1Smrg
4797b363dSmrgdefault partial xkb_compatibility "default" {
5797b363dSmrg
646185892Smrg    virtual_modifiers  LevelThree;
7154daed1Smrg
8154daed1Smrg    interpret.repeat= False;
9154daed1Smrg    setMods.clearLocks= True;
10154daed1Smrg    latchMods.clearLocks= True;
11154daed1Smrg    latchMods.latchToLock= True;
12154daed1Smrg
13154daed1Smrg    interpret ISO_Level2_Latch+Shift {
14154daed1Smrg	useModMapMods= level1;
15154daed1Smrg	action= LatchMods(modifiers=Shift);
16154daed1Smrg    };
17154daed1Smrg
18154daed1Smrg    interpret ISO_Level3_Shift+Any {
19154daed1Smrg	useModMapMods= level1;
20154daed1Smrg	virtualModifier= LevelThree;
21154daed1Smrg	action= SetMods(modifiers=LevelThree);
22154daed1Smrg    };
23154daed1Smrg
24154daed1Smrg    interpret ISO_Level3_Shift {
25154daed1Smrg	action= SetMods(modifiers=LevelThree);
26154daed1Smrg    };
27154daed1Smrg
28154daed1Smrg    interpret ISO_Level3_Latch+Any {
29154daed1Smrg	useModMapMods= level1;
30154daed1Smrg	virtualModifier= LevelThree;
31154daed1Smrg	action= LatchMods(modifiers=LevelThree);
32154daed1Smrg    };
33154daed1Smrg
34154daed1Smrg    interpret ISO_Level3_Latch {
35154daed1Smrg	action= LatchMods(modifiers=LevelThree);
36154daed1Smrg    };
37154daed1Smrg
38154daed1Smrg    interpret ISO_Level3_Lock+Any {
39154daed1Smrg	useModMapMods= level1;
40154daed1Smrg	virtualModifier= LevelThree;
41154daed1Smrg	action= LockMods(modifiers=LevelThree);
42154daed1Smrg    };
43154daed1Smrg
44154daed1Smrg    interpret ISO_Level3_Lock {
45154daed1Smrg	action= LockMods(modifiers=LevelThree);
46154daed1Smrg    };
47154daed1Smrg
48154daed1Smrg    interpret ISO_Group_Latch {
49154daed1Smrg	action= LatchGroup(group=2);
50154daed1Smrg    };
51154daed1Smrg
52154daed1Smrg    interpret ISO_Next_Group {
53154daed1Smrg	action= LockGroup(group=+1);
54154daed1Smrg    };
55154daed1Smrg
56154daed1Smrg    interpret ISO_Prev_Group {
57154daed1Smrg	action= LockGroup(group=-1);
58154daed1Smrg    };
5946185892Smrg
60154daed1Smrg    interpret ISO_First_Group {
61154daed1Smrg	action= LockGroup(group=1);
62154daed1Smrg    };
63154daed1Smrg
64154daed1Smrg    interpret ISO_Last_Group {
65154daed1Smrg	action= LockGroup(group=2);
66154daed1Smrg    };
67154daed1Smrg
68154daed1Smrg    indicator "Group 2" {
69154daed1Smrg	!allowExplicit;
70154daed1Smrg	groups= All-Group1;
71154daed1Smrg    };
72154daed1Smrg};
73