]> git.madduck.net Git - etc/xsession.git/blob - .xkb/symbols/madduck

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

ef781b3ccefbb8c61977471c204705c0d7945052
[etc/xsession.git] / .xkb / symbols / madduck
1 // default_switch: set up windows keys for mode switching and the menu keys
2 // to generate mod3. since I have some machines without those fancy keys, I
3 // also configure the right CTRL and ALT keys to do the same.
4 partial modifier_keys
5 xkb_symbols "default_switch" {
6   include "group(win_switch)"
7   include "group(switch)"
8   replace key <MENU> {
9     [ VoidSymbol, VoidSymbol ]
10   };
11   replace key <RCTL> {
12     [ VoidSymbol, VoidSymbol ]
13   };
14   modifier_map Mod3 { <RCTL> };
15   modifier_map Mod3 { <MENU> };
16 };
17
18 // caps_mod4: make capslock generate the mod4 modifier
19 partial modifier_keys
20 xkb_symbols "caps_mod4" {
21   replace key <CAPS> {
22     [ VoidSymbol, VoidSymbol ]
23   };
24   modifier_map Mod4 { <CAPS> };
25 };
26
27 // group2_intl: my group2 map of international and other symbols
28 partial modifier_keys alphanumeric_keys
29 xkb_symbols "group2_intl" {
30   key <TLDE> {
31     symbols[Group2] = [ degree, infinity ]
32   };
33   key <AE00> {
34     symbols[Group2] = [ degree, infinity ]
35   };
36   key <AE01> {
37     symbols[Group2] = [ onesuperior, onequarter ]
38   };
39   key <AE02> {
40     symbols[Group2] = [ twosuperior, onehalf ]
41   };
42   key <AE03> {
43     symbols[Group2] = [ threesuperior, threequarters ]
44   };
45   key <AE04> {
46     symbols[Group2] = [ eacute, Eacute ]
47   };
48   key <AE05> {
49     symbols[Group2] = [ EuroSign, cent ]
50   };
51   key <AE06> {
52     symbols[Group2] = [ copyright, trademark ]
53   };
54   key <AE07> {
55     symbols[Group2] = [ yacute, Yacute ]
56   };
57   key <AE08> {
58     symbols[Group2] = [ uacute, Uacute ]
59   };
60   key <AE09> {
61     symbols[Group2] = [ iacute, Iacute ]
62   };
63   key <AE10> {
64     symbols[Group2] = [ oacute, Oacute ]
65   };
66   key <AE11> {
67     symbols[Group2] = [ endash, emdash ]
68   };
69   key <AE12> {
70     symbols[Group2] = [ approximate, plusminus ]
71   };
72   key <BKSP> {
73     symbols[Group2] = [ BackSpace, BackSpace ]
74   };
75   key <SPCE> {
76     symbols[Group2] = [ nobreakspace, nobreakspace ]
77   };
78   key <TAB> {
79     symbols[Group2] = [ Tab, Tab ]
80   };
81   key <AD01> {
82     symbols[Group2] = [ acircumflex, Acircumflex ]
83   };
84   key <AD02> {
85     symbols[Group2] = [ aacute, Aacute ]
86   };
87   key <AD03> {
88     symbols[Group2] = [ ediaeresis, Ediaeresis ]
89   };
90   key <AD04> {
91     symbols[Group2] = [ ecircumflex, Ecircumflex ]
92   };
93   key <AD05> {
94     symbols[Group2] = [ icircumflex, Icircumflex ]
95   };
96   key <AD06> {
97     symbols[Group2] = [ ydiaeresis, Ydiaeresis ]
98   };
99   key <AD07> {
100     symbols[Group2] = [ udiaeresis, Udiaeresis ]
101   };
102   key <AD08> {
103     symbols[Group2] = [ idiaeresis, Idiaeresis ]
104   };
105   key <AD09> {
106     symbols[Group2] = [ odiaeresis, Odiaeresis ]
107   };
108   key <AD10> {
109     symbols[Group2] = [ ocircumflex, Ocircumflex ]
110   };
111   key <AD11> {
112     symbols[Group2] = [ ae, AE ]
113   };
114   key <AD12> {
115     symbols[Group2] = [ oslash, Oslash ]
116   };
117   key <BKSL> {
118     symbols[Group2] = [ aring, Aring ]
119   };
120   key <AC01> {
121     symbols[Group2] = [ adiaeresis, Adiaeresis ]
122   };
123   key <AC02> {
124     symbols[Group2] = [ ssharp, section ]
125   };
126   key <AC03> {
127     symbols[Group2] = [ egrave, Egrave ]
128   };
129   key <AC04> {
130     symbols[Group2] = [ eth, Eth ]
131   };
132   key <AC05> {
133     symbols[Group2] = [ thorn, Thorn ]
134   };
135   key <AC06> {
136     symbols[Group2] = [ ucircumflex, Ucircumflex ]
137   };
138   key <AC07> {
139     symbols[Group2] = [ ugrave, Ugrave ]
140   };
141   key <AC08> {
142     symbols[Group2] = [ igrave, Igrave ]
143   };
144   key <AC09> {
145     symbols[Group2] = [ ograve, Ograve ]
146   };
147   key <AC10> {
148     symbols[Group2] = [ leftdoublequotemark, leftarrow ]
149   };
150   key <AC11> {
151     symbols[Group2] = [ rightdoublequotemark, rightarrow ]
152   };
153   key <RTRN> {
154     symbols[Group2] = [ Return, Return ]
155   };
156   key <AB01> {
157     symbols[Group2] = [ agrave, Agrave ]
158   };
159   key <AB02> {
160     symbols[Group2] = [ multiply, division ]
161   };
162   key <AB03> {
163     symbols[Group2] = [ ccedilla, Ccedilla ]
164   };
165   key <AB04> {
166     symbols[Group2] = [ atilde, Atilde ]
167   };
168   key <AB05> {
169     symbols[Group2] = [ otilde, Otilde ]
170   };
171   key <AB06> {
172     symbols[Group2] = [ ntilde, Ntilde ]
173   };
174   key <AB07> {
175     symbols[Group2] = [ mu, heart ]
176   };
177   key <AB08> {
178     symbols[Group2] = [ periodcentered, guillemotleft ]
179   };
180   key <AB09> {
181     symbols[Group2] = [ ellipsis, guillemotright ]
182   };
183   key <AB10> {
184     symbols[Group2] = [ exclamdown, questiondown ]
185   };
186 };