1 // these variants assign various XKB keycodes to ISO_Level3_Shift so that
2 // the third shift level can be reached
4 // $XFree86: xc/programs/xkbcomp/symbols/level3,v 1.7 2003/09/08 14:25:32 eich Exp $
7 // the default behavior is for the right Alt key (AltGr) to generate the
8 // third engraved symbol
9 default partial modifier_keys
10 xkb_symbols "ralt_switch" {
12 type[Group1]="ONE_LEVEL",
13 symbols[Group1] = [ ISO_Level3_Shift ]
15 modifier_map Mod5 { ISO_Level3_Shift };
18 // using the level(alt_switch) map, either Alt key temporarily chooses
19 // the third shift level. (Mostly be used to imitate Mac OS functionality.)
21 xkb_symbols "alt_switch" {
22 include "level3(lalt_switch)"
23 include "level3(ralt_switch)"
27 xkb_symbols "lalt_switch" {
29 type[Group1]="ONE_LEVEL",
30 symbols[Group1] = [ ISO_Level3_Shift ]
32 modifier_map Mod5 { ISO_Level3_Shift };
35 // using the level(switch) map, the right Control key temporarily
36 // chooses the third shift level (until it is released).
38 xkb_symbols "switch" {
40 type[Group1]="ONE_LEVEL",
41 symbols[Group1] = [ ISO_Level3_Shift ]
43 modifier_map Mod5 { ISO_Level3_Shift };
46 // using the level(menu_switch) map, the Menu key temporarily
47 // chooses the third shift level (until it is released).
49 xkb_symbols "menu_switch" {
51 type[Group1]="ONE_LEVEL",
52 symbols[Group1] = [ ISO_Level3_Shift ]
54 modifier_map Mod5 { ISO_Level3_Shift };
57 // using the level(win_switch) map, the either Windows' logo key
58 // temporarily chooses the third shift level. If you use this map,
59 // you should define your keyboard as pc101 or pc102 instead of pc104
62 xkb_symbols "win_switch" {
63 include "level3(lwin_switch)"
64 include "level3(rwin_switch)"
67 // using the level(lwin_switch) map, the left Windows' logo key
68 // temporarily chooses the third shift level. If you use this map,
69 // you should define your keyboard as pc101 or pc102 instead of pc104
72 xkb_symbols "lwin_switch" {
74 type[Group1]="ONE_LEVEL",
75 symbols[Group1] = [ ISO_Level3_Shift ]
77 modifier_map Mod5 { ISO_Level3_Shift };
80 // using the level(rwin_switch) map, the right Windows' logo key
81 // temporarily chooses the third shift level. If you use this map,
82 // you should define your keyboard as pc101 or pc102 instead of pc104
85 xkb_symbols "rwin_switch" {
87 type[Group1]="ONE_LEVEL",
88 symbols[Group1] = [ ISO_Level3_Shift ]
90 modifier_map Mod5 { ISO_Level3_Shift };