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 // using the level(alt_switch) map, either Alt key temporarily chooses
21 // the third shift level. (Mostly be used to imitate Mac OS functionality.)
23 xkb_symbols "alt_switch" {
24 include "level3(lalt_switch)"
25 include "level3(ralt_switch)"
29 xkb_symbols "lalt_switch" {
31 type[Group1]="ONE_LEVEL",
32 symbols[Group1] = [ ISO_Level3_Shift ]
34 modifier_map Mod5 { ISO_Level3_Shift };
37 // using the level(switch) map, the right Control key temporarily
38 // chooses the third shift level (until it is released).
40 xkb_symbols "switch" {
42 type[Group1]="ONE_LEVEL",
43 symbols[Group1] = [ ISO_Level3_Shift ]
45 modifier_map Mod5 { ISO_Level3_Shift };
48 // using the level(menu_switch) map, the Menu key temporarily
49 // chooses the third shift level (until it is released).
51 xkb_symbols "menu_switch" {
53 type[Group1]="ONE_LEVEL",
54 symbols[Group1] = [ ISO_Level3_Shift ]
56 modifier_map Mod5 { ISO_Level3_Shift };
59 // using the level(win_switch) map, the either Windows' logo key
60 // temporarily chooses the third shift level. If you use this map,
61 // you should define your keyboard as pc101 or pc102 instead of pc104
64 xkb_symbols "win_switch" {
65 include "level3(lwin_switch)"
66 include "level3(rwin_switch)"
69 // using the level(lwin_switch) map, the left Windows' logo key
70 // temporarily chooses the third shift level. If you use this map,
71 // you should define your keyboard as pc101 or pc102 instead of pc104
74 xkb_symbols "lwin_switch" {
76 type[Group1]="ONE_LEVEL",
77 symbols[Group1] = [ ISO_Level3_Shift ]
79 modifier_map Mod5 { ISO_Level3_Shift };
82 // using the level(rwin_switch) map, the right Windows' logo key
83 // temporarily chooses the third shift level. If you use this map,
84 // you should define your keyboard as pc101 or pc102 instead of pc104
87 xkb_symbols "rwin_switch" {
89 type[Group1]="ONE_LEVEL",
90 symbols[Group1] = [ ISO_Level3_Shift ]
92 modifier_map Mod5 { ISO_Level3_Shift };