added SILVERCREST Multimedia Wireless Keyboard, fixed #4217
[xorg/xkeyboard-config] / symbols / level3
1 // $XKeyboardConfig$
2
3 // these variants assign various XKB keycodes to ISO_Level3_Shift so that
4 // the third shift level can be reached
5 //
6 // $XFree86: xc/programs/xkbcomp/symbols/level3,v 1.7 2003/09/08 14:25:32 eich Exp $
7 //
8
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" {
13   key <RALT> {
14     type[Group1]="ONE_LEVEL",
15     symbols[Group1] = [ ISO_Level3_Shift ]
16     };
17   modifier_map Mod5   { ISO_Level3_Shift };
18 };
19
20 // special case or right Alt switch - for use with grp:alts_toggle
21 //
22 partial hidden modifier_keys
23 xkb_symbols "ralt_switch_for_alts_toggle" {
24   key <RALT> {
25     type[Group1]="PC_SYSRQ",
26     symbols[Group1] = [ ISO_Level3_Shift, ISO_Next_Group ]
27     };
28   modifier_map Mod5   { ISO_Level3_Shift };
29 };
30
31 // using the level(alt_switch) map, either Alt key temporarily chooses
32 // the third shift level.  (Mostly be used to imitate Mac OS functionality.)
33 partial modifier_keys
34 xkb_symbols "alt_switch" {
35   include "level3(lalt_switch)"
36   include "level3(ralt_switch)"
37 };
38
39 partial modifier_keys
40 xkb_symbols "lalt_switch" {
41   key <LALT> {
42     type[Group1]="ONE_LEVEL",
43     symbols[Group1] = [ ISO_Level3_Shift ]
44     };
45   modifier_map Mod5   { ISO_Level3_Shift };
46 };
47
48 // using the level(switch) map, the right Control key temporarily
49 // chooses the third shift level (until it is released).
50 partial modifier_keys
51 xkb_symbols "switch" {
52   key <RCTL> {
53     type[Group1]="ONE_LEVEL",
54     symbols[Group1] = [ ISO_Level3_Shift ]
55     };
56   modifier_map Mod5   { ISO_Level3_Shift };
57 };
58
59 // using the level(menu_switch) map, the Menu key temporarily
60 // chooses the third shift level (until it is released).
61 partial modifier_keys
62 xkb_symbols "menu_switch" {
63   key <MENU> {
64     type[Group1]="ONE_LEVEL",
65     symbols[Group1] = [ ISO_Level3_Shift ]
66     };
67   modifier_map Mod5   { ISO_Level3_Shift };
68 };
69
70 // using the level(win_switch) map, the either Windows' logo key
71 // temporarily chooses the third shift level.  If you use this map,
72 // you should define your keyboard as pc101 or pc102 instead of pc104
73 // or pc105.
74 partial modifier_keys
75 xkb_symbols "win_switch" {
76   include "level3(lwin_switch)"
77   include "level3(rwin_switch)"
78 };
79
80 // using the level(lwin_switch) map, the left 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
83 // or pc105.
84 partial modifier_keys
85 xkb_symbols "lwin_switch" {
86   key <LWIN> {
87     type[Group1]="ONE_LEVEL",
88     symbols[Group1] = [ ISO_Level3_Shift ]
89     };
90   modifier_map Mod5   { ISO_Level3_Shift };
91 };
92
93 // using the level(rwin_switch) map, the right Windows' logo key
94 // temporarily chooses the third shift level.  If you use this map,
95 // you should define your keyboard as pc101 or pc102 instead of pc104
96 // or pc105.
97 partial modifier_keys
98 xkb_symbols "rwin_switch" {
99   key <RWIN> {
100     type[Group1]="ONE_LEVEL",
101     symbols[Group1] = [ ISO_Level3_Shift ]
102     };
103   modifier_map Mod5   { ISO_Level3_Shift };
104 };