Putting altwin:super_win into default mapping, dropping the option, b.fd.o#19500
[xorg/xkeyboard-config] / symbols / altwin
1 // $XKeyboardConfig$
2
3 // $XFree86: xc/programs/xkbcomp/symbols/altwin,v 1.5 2003/12/03 14:09:08 pascal Exp $
4
5 partial modifier_keys 
6 xkb_symbols "meta_alt" {
7     key <LALT> {        [       Alt_L,  Meta_L          ]       };
8     key <RALT> {        [       Alt_R,  Meta_R          ]       };
9     modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
10 //  modifier_map Mod4   {};
11 };
12
13 // Control is mapped to the Win-keys (and the usual Ctrl keys).
14 partial modifier_keys 
15 xkb_symbols "ctrl_win" {
16     key <LWIN> {        [       Control_L               ]       };
17     key <RWIN> {        [       Control_R               ]       };
18     modifier_map Control { <LWIN>, <RWIN> };
19 };
20
21 // Ctrl is mapped to the Alt-keys, Alt is mapped to the Win-keys,  Win is mapped to the Ctrl-keys.
22 partial modifier_keys 
23 xkb_symbols "ctrl_alt_win" {
24     key <LALT> {        [       Control_L, Control_L            ]       };
25     key <RALT> {        [       Control_R, Control_R            ]       };
26     key <LWIN> {        [       Alt_L, Meta_L           ]       };
27     key <RWIN> {        [       Alt_R, Meta_R           ]       };
28     modifier_map Control { <RALT>, <LALT> };
29     modifier_map  Mod1 { <LWIN>, <RWIN> };
30 };
31
32
33 partial modifier_keys 
34 xkb_symbols "meta_win" {
35     key <LALT> {        [       Alt_L,  Alt_L           ]       };
36     key <RALT> {        [       Alt_R,  Alt_R           ]       };
37     key <LWIN> {        [       Meta_L                  ]       };
38     key <RWIN> {        [       Meta_R                  ]       };
39     modifier_map Mod1   { Alt_L, Alt_R };
40     modifier_map Mod4   { <META>, Meta_L, Meta_R };
41 };
42
43 partial modifier_keys 
44 xkb_symbols "left_meta_win" {
45     key <LALT> {        [       Alt_L,  Alt_L           ]       };
46     key <LWIN> {        [       Meta_L                  ]       };
47     modifier_map Mod1   { Alt_L };
48     modifier_map Mod4   { <META>, Meta_L };
49 };
50
51 partial modifier_keys 
52 xkb_symbols "hyper_win" {
53     key <LWIN> {        [       Hyper_L                 ]       };
54     key <RWIN> {        [       Hyper_R                 ]       };
55     modifier_map Mod4   { Hyper_L, Hyper_R };
56 };
57
58 // Use Menu for the menu key
59 partial modifier_keys 
60 xkb_symbols "menu" {
61     key <MENU> {        [       Menu            ]       };
62 };
63
64 // Layout for Tux key caps with additional right Alt key
65 partial modifier_keys 
66 xkb_symbols "alt_super_win" {
67     key <LALT> {        [       Alt_L,  Meta_L          ]       };
68     key <RWIN> {        [       Alt_R,  Meta_R          ]       };
69     key <LWIN> {        [       Super_L                 ]       };
70     key <MENU> {        [       Super_R                 ]       };
71     modifier_map Mod1   { Alt_L, Alt_R, Meta_L, Meta_R };
72     modifier_map Mod4   { Super_L, Super_R };
73 };
74
75 partial modifier_keys 
76 xkb_symbols "swap_lalt_lwin" {
77     key <LALT> {        [       Super_L                 ]       };
78     key <LWIN> {        [       Alt_L,  Meta_L          ]       };
79     modifier_map Mod1 { <LWIN> };
80     modifier_map Mod4 { <LALT> };
81 };