massive change in the group names
[xorg/xkeyboard-config] / symbols / hu
1 // New style XKB layout for some widely used Hungarian keyboard layouts
2 //
3 // Based on old style 'xkb/symbols/hu"
4 //
5 // $XKeyboardConfig$
6 // (C) 2002-2004 Soós Péter <sp@osb.hu>
7 //
8 // Permission is granted to anyone to use, distribute and modify
9 // this file in any way, provided that the above copyright notice
10 // is left intact and the author of the modification summarizes
11 // the changes in this header.
12 //
13 // This file is distributed without any expressed or implied warranty.
14 //
15 // Changes:
16 //  2004-04-17 - Moved to new style (only Unicode based layouts)
17 //             - Added consistent dead key support
18 //             - Fixed abovedot
19 //             - Added adiaeresis
20 //             - Added EuroSign and cent symbol
21
22
23 // Default layout
24 default partial
25 xkb_symbols "basic" {
26     include "hu(102_qwertz_comma_dead)"
27 };
28
29 // Standard layout
30 partial
31 xkb_symbols "standard" {
32     include "hu(102_qwertz_comma_dead)"
33 };
34
35 // Standard layout without dead key support
36 partial
37 xkb_symbols "nodeadkeys" {
38     include "hu(102_qwertz_comma_nodead)"
39 };
40
41 // Qwerty layout
42 partial
43 xkb_symbols "qwerty" {
44     include "hu(101_qwerty_comma_dead)"
45 };
46
47 // Main layouts
48
49 // 101_qwertz_comma_dead
50 // 101 key qwertz layout
51 // with decimal comma on keypad
52 // and with dead key support
53 partial
54 xkb_symbols "101_qwertz_comma_dead" {
55     name[Group1] = "Hungary";
56     include "latin"
57     include "hu(def_101)"
58     include "hu(def_qwertz)"
59     include "keypad(comma)"
60     include "hu(def_dead)"
61     include "hu(def_common)"
62     include "level3(ralt_switch)"
63 };
64
65 // 101_qwertz_comma_nodead
66 // 101 key qwertz layout
67 // with decimal comma on keypad
68 // and without dead key support
69 partial
70 xkb_symbols "101_qwertz_comma_nodead" {
71     name[Group1] = "Hungary";
72     include "latin"
73     include "hu(def_101)"
74     include "hu(def_qwertz)"
75     include "keypad(comma)"
76     include "hu(def_nodead)"
77     include "hu(def_common)"
78     include "level3(ralt_switch)"
79 };
80
81 // 101_qwertz_dot_dead
82 // 101 key qwertz layout
83 // with decimal dot on keypad
84 // and with dead key support
85 partial
86 xkb_symbols "101_qwertz_dot_dead" {
87     name[Group1] = "Hungary";
88     include "latin"
89     include "hu(def_101)"
90     include "hu(def_qwertz)"
91     include "hu(def_dot)"
92     include "hu(def_dead)"
93     include "hu(def_common)"
94     include "level3(ralt_switch)"
95 };
96
97 // 101_qwertz_dot_nodead
98 // 101 key qwertz layout
99 // with decimal dot on keypad
100 // and without dead key support
101 partial
102 xkb_symbols "101_qwertz_dot_nodead" {
103     name[Group1] = "Hungary";
104     include "latin"
105     include "hu(def_101)"
106     include "hu(def_qwertz)"
107     include "hu(def_dot)"
108     include "hu(def_nodead)"
109     include "hu(def_common)"
110     include "level3(ralt_switch)"
111 };
112
113 // 101_qwerty_comma_dead
114 // 101 key qwerty layout
115 // with decimal comma on keypad
116 // and with dead key support
117 partial
118 xkb_symbols "101_qwerty_comma_dead" {
119     name[Group1] = "Hungary";
120     include "latin"
121     include "hu(def_101)"
122     include "hu(def_qwerty)"
123     include "keypad(comma)"
124     include "hu(def_dead)"
125     include "hu(def_common)"
126     include "level3(ralt_switch)"
127 };
128
129 // 101_qwerty_comma_nodead
130 // 101 key qwerty layout
131 // with decimal comma on keypad
132 // and without dead key support
133 partial
134 xkb_symbols "101_qwerty_comma_nodead" {
135     name[Group1] = "Hungary";
136     include "latin"
137     include "hu(def_101)"
138     include "hu(def_qwerty)"
139     include "keypad(comma)"
140     include "hu(def_nodead)"
141     include "hu(def_common)"
142     include "level3(ralt_switch)"
143 };
144
145 // 101_qwerty_dot_dead
146 // 101 key qwerty layout
147 // with decimal dot on keypad
148 // and with dead key support
149 partial
150 xkb_symbols "101_qwerty_dot_dead" {
151     name[Group1] = "Hungary";
152     include "latin"
153     include "hu(def_101)"
154     include "hu(def_qwerty)"
155     include "hu(def_dot)"
156     include "hu(def_dead)"
157     include "hu(def_common)"
158     include "level3(ralt_switch)"
159 };
160
161 // 101_qwerty_dot_nodead
162 // 101 key qwerty layout
163 // with decimal dot on keypad
164 // and without dead key support
165 partial
166 xkb_symbols "101_qwerty_dot_nodead" {
167     name[Group1] = "Hungary";
168     include "latin"
169     include "hu(def_101)"
170     include "hu(def_qwerty)"
171     include "hu(def_dot)"
172     include "hu(def_nodead)"
173     include "hu(def_common)"
174     include "level3(ralt_switch)"
175 };
176
177 // 102_qwertz_comma_dead
178 // 102 key qwertz layout
179 // with decimal comma on keypad
180 // and with dead key support
181 partial
182 xkb_symbols "102_qwertz_comma_dead" {
183     name[Group1] = "Hungary";
184     include "latin"
185     include "hu(def_102)"
186     include "hu(def_qwertz)"
187     include "hu(def_comma)"
188     include "hu(def_dead)"
189     include "hu(def_common)"
190     include "level3(ralt_switch)"
191 };
192
193 // 102_qwertz_comma_nodead
194 // 102 key qwertz layout
195 // with decimal comma on keypad
196 // and without dead key support
197 partial
198 xkb_symbols "102_qwertz_comma_nodead" {
199     name[Group1] = "Hungary";
200     include "latin"
201     include "hu(def_102)"
202     include "hu(def_qwertz)"
203     include "hu(def_comma)"
204     include "hu(def_nodead)"
205     include "hu(def_common)"
206     include "level3(ralt_switch)"
207 };
208
209 // 102_qwertz_dot_dead
210 // 102 key qwertz layout
211 // with decimal dot on keypad
212 // and with dead key support
213 partial
214 xkb_symbols "102_qwertz_dot_dead" {
215     name[Group1] = "Hungary";
216     include "latin"
217     include "hu(def_102)"
218     include "hu(def_qwertz)"
219     include "hu(def_dot)"
220     include "hu(def_dead)"
221     include "hu(def_common)"
222     include "level3(ralt_switch)"
223 };
224
225 // 102_qwertz_dot_nodead
226 // 102 key qwertz layout
227 // with decimal dot on keypad
228 // and without dead key support
229 partial
230 xkb_symbols "102_qwertz_dot_nodead" {
231     name[Group1] = "Hungary";
232     include "latin"
233     include "hu(def_102)"
234     include "hu(def_qwertz)"
235     include "hu(def_dot)"
236     include "hu(def_nodead)"
237     include "hu(def_common)"
238     include "level3(ralt_switch)"
239 };
240
241 // 102_qwerty_comma_dead
242 // 102 key qwerty layout
243 // with decimal comma on keypad
244 // and with dead key support
245 partial
246 xkb_symbols "102_qwerty_comma_dead" {
247     name[Group1] = "Hungary";
248     include "latin"
249     include "hu(def_102)"
250     include "hu(def_qwerty)"
251     include "hu(def_comma)"
252     include "hu(def_dead)"
253     include "hu(def_common)"
254     include "level3(ralt_switch)"
255 };
256
257 // 102_qwerty_comma_nodead
258 // 102 key qwerty layout
259 // with decimal comma on keypad
260 // and without dead key support
261 partial
262 xkb_symbols "102_qwerty_comma_nodead" {
263     name[Group1] = "Hungary";
264     include "latin"
265     include "hu(def_102)"
266     include "hu(def_qwerty)"
267     include "hu(def_comma)"
268     include "hu(def_nodead)"
269     include "hu(def_common)"
270     include "level3(ralt_switch)"
271 };
272
273 // 102_qwerty_dot_dead
274 // 102 key qwerty layout
275 // with decimal dot on keypad
276 // and with dead key support
277 partial
278 xkb_symbols "102_qwerty_dot_dead" {
279     name[Group1] = "Hungary";
280     include "latin"
281     include "hu(def_102)"
282     include "hu(def_qwerty)"
283     include "hu(def_dot)"
284     include "hu(def_dead)"
285     include "hu(def_common)"
286     include "level3(ralt_switch)"
287 };
288
289 // 102_qwerty_dot_nodead
290 // 102 key qwerty layout
291 // with decimal dot on keypad
292 // and without dead key support
293 partial
294 xkb_symbols "102_qwerty_dot_nodead" {
295     name[Group1] = "Hungary";
296     include "latin"
297     include "hu(def_102)"
298     include "hu(def_qwerty)"
299     include "hu(def_dot)"
300     include "hu(def_nodead)"
301     include "hu(def_common)"
302     include "level3(ralt_switch)"
303 };
304
305 // Partial layouts
306
307 // def_102:
308 // The standard Hungarian 102 key layout
309 hidden partial alphanumeric_keys
310 xkb_symbols "def_102" {
311     key <TLDE>  { [            0,      section,           notsign                  ] };
312     key <LSGT>  { [       iacute,       Iacute,              less,         greater ] };
313
314 };
315
316 // def_101:
317 // An alternative layout for 101 key keyboards
318 hidden partial alphanumeric_keys
319 xkb_symbols "def_101" {
320     key <TLDE>  { [       iacute,       Iacute,                  0,        section ] };
321     key <LSGT>  { [         less,      greater                                     ] };
322 };
323
324 // def_qwertz:
325 // The standard Hungaryan qwertz layout
326 hidden partial alphanumeric_keys
327 xkb_symbols "def_qwertz" {
328     key <AD06>  { [            z,            Z                                     ] };
329     key <AB01>  { [            y,            Y,           greater                  ] };
330 };
331
332
333 // def_qwerty:
334 // The qwerty layout for people who familiar with the standard US layout
335 hidden partial alphanumeric_keys
336 xkb_symbols "def_qwerty" {
337     key <AD06>  { [            y,            Y                                     ] };
338     key <AB01>  { [            z,            Z,           greater                  ] };
339 };
340
341 // def_comma:
342 // The Hungarian standard is the comma on the keypad not decimal dot
343 hidden partial keypad_keys
344 xkb_symbols "def_comma" {
345    key  <KPDL> { [     KP_Delete,   comma            ]       };
346 };
347
348 // def_dot:
349 // The Hungarian standard is the comma on the keypad not decimal dot,
350 // but programmers hate it
351 hidden partial keypad_keys
352 xkb_symbols "def_dot" {
353     key <KPDL>  { [    KP_Delete,   KP_Decimal                                     ] };
354 };
355
356
357 // def_dead:
358 // Dead keys support part
359 hidden partial alphanumeric_keys
360 xkb_symbols "def_dead" {
361     key <AE01>  { [            1,   apostrophe,        asciitilde,      dead_tilde ] };
362     key <AE02>  { [            2,     quotedbl,        dead_caron,           caron ] };
363     key <AE03>  { [            3,         plus,       asciicircum, dead_circumflex ] };
364     key <AE04>  { [            4,       exclam,        dead_breve,           breve ] };
365     key <AE05>  { [            5,      percent,    dead_abovering,          degree ] };
366     key <AE06>  { [            6,        slash,       dead_ogonek,          ogonek ] };
367     key <AE07>  { [            7,        equal,             grave,      dead_grave ] };
368     key <AE08>  { [            8,    parenleft,     dead_abovedot,        abovedot ] };
369     key <AE09>  { [            9,   parenright,        dead_acute,           acute ] };
370     key <AE10>  { [   odiaeresis,   Odiaeresis,  dead_doubleacute,     doubleacute ] };
371     key <AE11>  { [   udiaeresis,   Udiaeresis,    dead_diaeresis,       diaeresis ] };
372     key <AE12>  { [       oacute,       Oacute,      dead_cedilla,         cedilla ] };
373 };
374
375 // def_nodead:
376 // Without dead keys support
377 hidden partial alphanumeric_keys
378 xkb_symbols "def_nodead" {
379     key <AE01>  { [            1,   apostrophe,        asciitilde                  ] };
380     key <AE02>  { [            2,     quotedbl,             caron                  ] };
381     key <AE03>  { [            3,         plus,       asciicircum                  ] };
382     key <AE04>  { [            4,       exclam,             breve                  ] };
383     key <AE05>  { [            5,      percent,            degree                  ] };
384     key <AE06>  { [            6,        slash,            ogonek                  ] };
385     key <AE07>  { [            7,        equal,             grave                  ] };
386     key <AE08>  { [            8,    parenleft,          abovedot                  ] };
387     key <AE09>  { [            9,   parenright,             acute                  ] };
388     key <AE10>  { [   odiaeresis,   Odiaeresis,       doubleacute                  ] };
389     key <AE11>  { [   udiaeresis,   Udiaeresis,         diaeresis                  ] };
390     key <AE12>  { [       oacute,       Oacute,           cedilla                  ] };
391 };
392
393
394 // def_common:
395 // The common part of all Hungarian layout above
396 hidden partial alphanumeric_keys
397 xkb_symbols "def_common" {
398     key <AD01>  { [            q,            Q,         backslash                  ] };
399     key <AD02>  { [            w,            W,               bar                  ] };
400     key <AD07>  { [            u,            U,          EuroSign                  ] };
401     key <AD08>  { [            i,            I,            Iacute,          iacute ] };
402     key <AD11>  { [ odoubleacute, Odoubleacute,          division                  ] };
403     key <AD12>  { [       uacute,       Uacute,          multiply                  ] };
404
405     key <AC01>  { [            a,            A,        adiaeresis,      Adiaeresis ] };
406     key <AC02>  { [            s,            S,           dstroke                  ] };
407     key <AC03>  { [            d,            D,           Dstroke                  ] };
408     key <AC04>  { [            f,            F,       bracketleft                  ] };
409     key <AC05>  { [            g,            G,      bracketright                  ] };
410     key <AC07>  { [            j,            J,            iacute,          Iacute ] };
411     key <AC08>  { [            k,            K,           lstroke                  ] };
412     key <AC09>  { [            l,            L,           Lstroke                  ] };
413     key <AC10>  { [       eacute,       Eacute,            dollar,            cent ] };
414     key <AC11>  { [       aacute,       Aacute,            ssharp                  ] };
415
416     key <BKSL>  { [ udoubleacute, Udoubleacute,          currency                  ] };
417
418     key <AB02>  { [            x,            X,        numbersign                  ] };
419     key <AB03>  { [            c,            C,         ampersand                  ] };
420     key <AB04>  { [            v,            V,                at                  ] };
421     key <AB05>  { [            b,            B,         braceleft                  ] };
422     key <AB06>  { [            n,            N,        braceright                  ] };
423     key <AB07>  { [            m,            M,              less                  ] };
424     key <AB08>  { [        comma,     question,         semicolon                  ] };
425     key <AB09>  { [       period,        colon,           greater                  ] };
426     key <AB10>  { [        minus,   underscore,          asterisk                  ] };
427
428 };