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> { type[Group1] = "TWO_LEVEL",
9 symbols[Group1] = [ Alt_R, Meta_R ] };
10 modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
11 // modifier_map Mod4 {};
14 // Control is mapped to the Win-keys (and the usual Ctrl keys).
16 xkb_symbols "ctrl_win" {
17 key <LWIN> { [ Control_L ] };
18 key <RWIN> { [ Control_R ] };
19 modifier_map Control { <LWIN>, <RWIN> };
22 // Ctrl is mapped to the Alt-keys, Alt is mapped to the Win-keys, Win is mapped to the Ctrl-keys.
24 xkb_symbols "ctrl_alt_win" {
25 key <LALT> { [ Control_L, Control_L ] };
26 key <RALT> { type[Group1] = "TWO_LEVEL",
27 symbols[Group1] = [ Control_R, Control_R ] };
28 key <LWIN> { [ Alt_L, Meta_L ] };
29 key <RWIN> { [ Alt_R, Meta_R ] };
30 modifier_map Control { <RALT>, <LALT> };
31 modifier_map Mod1 { <LWIN>, <RWIN> };
36 xkb_symbols "meta_win" {
37 key <LALT> { [ Alt_L, Alt_L ] };
38 key <RALT> { type[Group1] = "TWO_LEVEL",
39 symbols[Group1] = [ Alt_R, Alt_R ] };
40 key <LWIN> { [ Meta_L ] };
41 key <RWIN> { [ Meta_R ] };
42 modifier_map Mod1 { Alt_L, Alt_R };
43 modifier_map Mod4 { <META>, Meta_L, Meta_R };
47 xkb_symbols "left_meta_win" {
48 key <LALT> { [ Alt_L, Alt_L ] };
49 key <LWIN> { [ Meta_L ] };
50 modifier_map Mod1 { Alt_L };
51 modifier_map Mod4 { <META>, Meta_L };
55 xkb_symbols "hyper_win" {
56 key <LWIN> { [ Hyper_L ] };
57 key <RWIN> { [ Hyper_R ] };
58 modifier_map Mod4 { Hyper_L, Hyper_R };
61 // Use Menu for the menu key
64 key <MENU> { [ Menu ] };
67 // Layout for Tux key caps with additional right Alt key
69 xkb_symbols "alt_super_win" {
70 key <LALT> { [ Alt_L, Meta_L ] };
71 key <RWIN> { [ Alt_R, Meta_R ] };
72 key <LWIN> { [ Super_L ] };
73 key <MENU> { [ Super_R ] };
74 modifier_map Mod1 { Alt_L, Alt_R, Meta_L, Meta_R };
75 modifier_map Mod4 { Super_L, Super_R };
79 xkb_symbols "swap_lalt_lwin" {
80 key <LALT> { [ Super_L ] };
81 key <LWIN> { [ Alt_L, Meta_L ] };
82 modifier_map Mod1 { <LWIN> };
83 modifier_map Mod4 { <LALT> };