3 // these variants assign various XKB keycodes to ISO_Level3_Shift so that
4 // the third shift level can be reached
6 // $XFree86: xc/programs/xkbcomp/symbols/level3,v 1.7 2003/09/08 14:25:32 eich Exp $
9 // the default behavior is for the right Alt key (AltGr) to generate the
10 // third engraved symbol
11 default partial modifier_keys
12 xkb_symbols "ralt_switch" {
14 type[Group1]="ONE_LEVEL",
15 symbols[Group1] = [ ISO_Level3_Shift ]
17 modifier_map Mod5 { ISO_Level3_Shift };
20 // special case or right Alt switch - for use with grp:alts_toggle
22 partial hidden modifier_keys
23 xkb_symbols "ralt_switch_for_alts_toggle" {
25 type[Group1]="PC_SYSRQ",
26 symbols[Group1] = [ Alt_L, ISO_Prev_Group, ISO_Prev_Group ]
29 type[Group1]="PC_SYSRQ",
30 symbols[Group1] = [ ISO_Level3_Shift, ISO_Next_Group ]
32 modifier_map Mod5 { ISO_Level3_Shift };
35 // using the level(alt_switch) map, either Alt key temporarily chooses
36 // the third shift level. (Mostly be used to imitate Mac OS functionality.)
38 xkb_symbols "alt_switch" {
39 include "level3(lalt_switch)"
40 include "level3(ralt_switch)"
44 xkb_symbols "lalt_switch" {
46 type[Group1]="ONE_LEVEL",
47 symbols[Group1] = [ ISO_Level3_Shift ]
49 modifier_map Mod5 { ISO_Level3_Shift };
52 // using the level(switch) map, the right Control key temporarily
53 // chooses the third shift level (until it is released).
55 xkb_symbols "switch" {
57 type[Group1]="ONE_LEVEL",
58 symbols[Group1] = [ ISO_Level3_Shift ]
60 modifier_map Mod5 { ISO_Level3_Shift };
63 // using the level(menu_switch) map, the Menu key temporarily
64 // chooses the third shift level (until it is released).
66 xkb_symbols "menu_switch" {
68 type[Group1]="ONE_LEVEL",
69 symbols[Group1] = [ ISO_Level3_Shift ]
71 modifier_map Mod5 { ISO_Level3_Shift };
74 // using the level(win_switch) map, the either Windows' logo key
75 // temporarily chooses the third shift level. If you use this map,
76 // you should define your keyboard as pc101 or pc102 instead of pc104
79 xkb_symbols "win_switch" {
80 include "level3(lwin_switch)"
81 include "level3(rwin_switch)"
84 // using the level(lwin_switch) map, the left Windows' logo key
85 // temporarily chooses the third shift level. If you use this map,
86 // you should define your keyboard as pc101 or pc102 instead of pc104
89 xkb_symbols "lwin_switch" {
91 type[Group1]="ONE_LEVEL",
92 symbols[Group1] = [ ISO_Level3_Shift ]
94 modifier_map Mod5 { ISO_Level3_Shift };
97 // using the level(rwin_switch) map, the right Windows' logo key
98 // temporarily chooses the third shift level. If you use this map,
99 // you should define your keyboard as pc101 or pc102 instead of pc104
101 partial modifier_keys
102 xkb_symbols "rwin_switch" {
104 type[Group1]="ONE_LEVEL",
105 symbols[Group1] = [ ISO_Level3_Shift ]
107 modifier_map Mod5 { ISO_Level3_Shift };