summaryrefslogtreecommitdiff
path: root/symbols/level3
blob: e626e5cfc556f82931d5dd48b1d3ad6bb7cfe265 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
// using the level(switch) map, the right Control key temporarily
// chooses the third group level (until it is released).
//
// $XFree86: xc/programs/xkbcomp/symbols/level3,v 1.7 2003/09/08 14:25:32 eich Exp $
//

partial modifier_keys
xkb_symbols "switch" {
  key <RCTL> {
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
  modifier_map Mod5   { ISO_Level3_Shift };
};

// using the level(alt_switch) map, both Alt keys temporarily choose the third
// group level.  This will mostly be used for imitating Mac OS functionality.
partial modifier_keys
xkb_symbols "alt_switch" {
  include "level3(lalt_switch)"
  include "level3(ralt_switch)"
};

partial modifier_keys
xkb_symbols "lalt_switch" {
  key <LALT> {
    type[Group1]="ONE_LEVEL",
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
};

partial modifier_keys
xkb_symbols "ralt_switch" {
  key <RALT> {
    type[Group1]="ONE_LEVEL",
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
};

partial modifier_keys
xkb_symbols "ralt_switch_multikey" {
  key <RALT> {
    type[Group1]="TWO_LEVEL",
    symbols[Group1] = [ ISO_Level3_Shift, Multi_key ]
    };
};

// using the level(menu_switch) map, the Menu key temporarily
// chooses the third group level (until it is released).
partial modifier_keys
xkb_symbols "menu_switch" {
  key <MENU> {
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
  modifier_map Mod5   { ISO_Level3_Shift };
};

// using the level(win_switch) map, the both Windows' logo keys
// temporarily choose the third group level.  If you use this map, you
// would define you keyboard as pc101 or pc102 instead of pc104 or
// pc105.
partial modifier_keys
xkb_symbols "win_switch" {
  include "level3(lwin_switch)"
  include "level3(rwin_switch)"
};

// using the level(lwin_switch) map, the left Windows' logo key
// temporarily chooses the third group level.  If you use this map,
// you would define you keyboard as pc101 or pc102 instead of pc104
// or pc105.
partial modifier_keys
xkb_symbols "lwin_switch" {
  key <LWIN> {
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
  modifier_map Mod5   { ISO_Level3_Shift };
};

// using the level(rwin_switch) map, the right Windows' logo key
// temporarily chooses the third group level.  If you use this map,
// you would define you keyboard as pc101 or pc102 instead of pc104
// or pc105.
partial modifier_keys
xkb_symbols "rwin_switch" {
  key <RWIN> {
    symbols[Group1] = [ ISO_Level3_Shift ]
    };
  modifier_map Mod5   { ISO_Level3_Shift };
};