3 // $XFree86: xc/programs/xkbcomp/symbols/altwin,v 1.5 2003/12/03 14:09:08 pascal Exp $
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 {};
13 // Control is mapped to the Win-keys (and the usual Ctrl keys).
15 xkb_symbols "ctrl_win" {
16 key <LWIN> { [ Control_L ] };
17 key <RWIN> { [ Control_R ] };
18 modifier_map Control { <LWIN>, <RWIN> };
21 // Ctrl is mapped to the Alt-keys, Alt is mapped to the Win-keys, Win is mapped to the Ctrl-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> };
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 };
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 };
52 xkb_symbols "hyper_win" {
53 key <LWIN> { [ Hyper_L ] };
54 key <RWIN> { [ Hyper_R ] };
55 modifier_map Mod4 { Hyper_L, Hyper_R };
58 // Use Menu for the menu key
61 key <MENU> { [ Menu ] };
64 // Layout for Tux key caps with additional right Alt key
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 };
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> };