Debian Codegraph @

symbols/hu

raw
1 // Keyboard layouts for Hungary.
2
3 // Some widely used Hungarian keyboard layouts.
4 //
5 // (C) 2002-2004 Soós Péter <[email protected]>
6 // (C) 2010 Andras Timar <[email protected]>
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 // 2010-04-23 - Added doublelowquotemark
22 // - Added rightdoublequotemark
23 // - Added endash
24 // 2010-05-13 - Added ellipsis
25
26
27 // Default layout
28 default partial
29 xkb_symbols "basic" {
30 include "hu(102_qwertz_comma_dead)"
31 name[Group1] = "Hungarian";
32 };
33
34 // Standard layout
35 partial
36 xkb_symbols "standard" {
37 include "hu(102_qwertz_comma_dead)"
38 name[Group1] = "Hungarian (standard)";
39 };
40
41 // Standard layout without dead key support
42 partial
43 xkb_symbols "nodeadkeys" {
44 include "hu(102_qwertz_comma_nodead)"
45 name[Group1] = "Hungarian (no dead keys)";
46 };
47
48 // Qwerty layout
49 partial
50 xkb_symbols "qwerty" {
51 include "hu(101_qwerty_comma_dead)"
52 name[Group1] = "Hungarian (QWERTY)";
53 };
54
55 // Main layouts
56
57 // 101_qwertz_comma_dead
58 // 101 key qwertz layout
59 // with decimal comma on keypad
60 // and with dead key support
61 partial
62 xkb_symbols "101_qwertz_comma_dead" {
63 name[Group1] = "Hungarian (QWERTZ, 101-key, comma, dead keys)";
64 include "latin"
65 include "hu(def_101)"
66 include "hu(def_qwertz)"
67 include "kpdl(comma)"
68 include "hu(def_dead)"
69 include "hu(def_common)"
70 include "level3(ralt_switch)"
71 };
72
73 // 101_qwertz_comma_nodead
74 // 101 key qwertz layout
75 // with decimal comma on keypad
76 // and without dead key support
77 partial
78 xkb_symbols "101_qwertz_comma_nodead" {
79 name[Group1] = "Hungarian (QWERTZ, 101-key, comma, no dead keys)";
80 include "latin"
81 include "hu(def_101)"
82 include "hu(def_qwertz)"
83 include "kpdl(comma)"
84 include "hu(def_nodead)"
85 include "hu(def_common)"
86 include "level3(ralt_switch)"
87 };
88
89 // 101_qwertz_dot_dead
90 // 101 key qwertz layout
91 // with decimal dot on keypad
92 // and with dead key support
93 partial
94 xkb_symbols "101_qwertz_dot_dead" {
95 name[Group1] = "Hungarian (QWERTZ, 101-key, dot, dead keys)";
96 include "latin"
97 include "hu(def_101)"
98 include "hu(def_qwertz)"
99 include "hu(def_dot)"
100 include "hu(def_dead)"
101 include "hu(def_common)"
102 include "level3(ralt_switch)"
103 };
104
105 // 101_qwertz_dot_nodead
106 // 101 key qwertz layout
107 // with decimal dot on keypad
108 // and without dead key support
109 partial
110 xkb_symbols "101_qwertz_dot_nodead" {
111 name[Group1] = "Hungarian (QWERTZ, 101-key, dot, no dead keys)";
112 include "latin"
113 include "hu(def_101)"
114 include "hu(def_qwertz)"
115 include "hu(def_dot)"
116 include "hu(def_nodead)"
117 include "hu(def_common)"
118 include "level3(ralt_switch)"
119 };
120
121 // 101_qwerty_comma_dead
122 // 101 key qwerty layout
123 // with decimal comma on keypad
124 // and with dead key support
125 partial
126 xkb_symbols "101_qwerty_comma_dead" {
127 name[Group1] = "Hungarian (QWERTY, 101-key, comma, dead keys)";
128 include "latin"
129 include "hu(def_101)"
130 include "hu(def_qwerty)"
131 include "kpdl(comma)"
132 include "hu(def_dead)"
133 include "hu(def_common)"
134 include "level3(ralt_switch)"
135 };
136
137 // 101_qwerty_comma_nodead
138 // 101 key qwerty layout
139 // with decimal comma on keypad
140 // and without dead key support
141 partial
142 xkb_symbols "101_qwerty_comma_nodead" {
143 name[Group1] = "Hungarian (QWERTY, 101-key, comma, no dead keys)";
144 include "latin"
145 include "hu(def_101)"
146 include "hu(def_qwerty)"
147 include "kpdl(comma)"
148 include "hu(def_nodead)"
149 include "hu(def_common)"
150 include "level3(ralt_switch)"
151 };
152
153 // 101_qwerty_dot_dead
154 // 101 key qwerty layout
155 // with decimal dot on keypad
156 // and with dead key support
157 partial
158 xkb_symbols "101_qwerty_dot_dead" {
159 name[Group1] = "Hungarian (QWERTY, 101-key, dot, dead keys)";
160 include "latin"
161 include "hu(def_101)"
162 include "hu(def_qwerty)"
163 include "hu(def_dot)"
164 include "hu(def_dead)"
165 include "hu(def_common)"
166 include "level3(ralt_switch)"
167 };
168
169 // 101_qwerty_dot_nodead
170 // 101 key qwerty layout
171 // with decimal dot on keypad
172 // and without dead key support
173 partial
174 xkb_symbols "101_qwerty_dot_nodead" {
175 name[Group1] = "Hungarian (QWERTY, 101-key, dot, no dead keys)";
176 include "latin"
177 include "hu(def_101)"
178 include "hu(def_qwerty)"
179 include "hu(def_dot)"
180 include "hu(def_nodead)"
181 include "hu(def_common)"
182 include "level3(ralt_switch)"
183 };
184
185 // 102_qwertz_comma_dead
186 // 102 key qwertz layout
187 // with decimal comma on keypad
188 // and with dead key support
189 partial
190 xkb_symbols "102_qwertz_comma_dead" {
191 name[Group1] = "Hungarian (QWERTZ, 102-key, comma, dead keys)";
192 include "latin"
193 include "hu(def_102)"
194 include "hu(def_qwertz)"
195 include "kpdl(comma)"
196 include "hu(def_dead)"
197 include "hu(def_common)"
198 include "level3(ralt_switch)"
199 };
200
201 // 102_qwertz_comma_nodead
202 // 102 key qwertz layout
203 // with decimal comma on keypad
204 // and without dead key support
205 partial
206 xkb_symbols "102_qwertz_comma_nodead" {
207 name[Group1] = "Hungarian (QWERTZ, 102-key, comma, no dead keys)";
208 include "latin"
209 include "hu(def_102)"
210 include "hu(def_qwertz)"
211 include "kpdl(comma)"
212 include "hu(def_nodead)"
213 include "hu(def_common)"
214 include "level3(ralt_switch)"
215 };
216
217 // 102_qwertz_dot_dead
218 // 102 key qwertz layout
219 // with decimal dot on keypad
220 // and with dead key support
221 partial
222 xkb_symbols "102_qwertz_dot_dead" {
223 name[Group1] = "Hungarian (QWERTZ, 102-key, dot, dead keys)";
224 include "latin"
225 include "hu(def_102)"
226 include "hu(def_qwertz)"
227 include "hu(def_dot)"
228 include "hu(def_dead)"
229 include "hu(def_common)"
230 include "level3(ralt_switch)"
231 };
232
233 // 102_qwertz_dot_nodead
234 // 102 key qwertz layout
235 // with decimal dot on keypad
236 // and without dead key support
237 partial
238 xkb_symbols "102_qwertz_dot_nodead" {
239 name[Group1] = "Hungarian (QWERTZ, 102-key, dot, no dead keys)";
240 include "latin"
241 include "hu(def_102)"
242 include "hu(def_qwertz)"
243 include "hu(def_dot)"
244 include "hu(def_nodead)"
245 include "hu(def_common)"
246 include "level3(ralt_switch)"
247 };
248
249 // 102_qwerty_comma_dead
250 // 102 key qwerty layout
251 // with decimal comma on keypad
252 // and with dead key support
253 partial
254 xkb_symbols "102_qwerty_comma_dead" {
255 name[Group1] = "Hungarian (QWERTY, 102-key, comma, dead keys)";
256 include "latin"
257 include "hu(def_102)"
258 include "hu(def_qwerty)"
259 include "kpdl(comma)"
260 include "hu(def_dead)"
261 include "hu(def_common)"
262 include "level3(ralt_switch)"
263 };
264
265 // 102_qwerty_comma_nodead
266 // 102 key qwerty layout
267 // with decimal comma on keypad
268 // and without dead key support
269 partial
270 xkb_symbols "102_qwerty_comma_nodead" {
271 name[Group1] = "Hungarian (QWERTY, 102-key, comma, no dead keys)";
272 include "latin"
273 include "hu(def_102)"
274 include "hu(def_qwerty)"
275 include "kpdl(comma)"
276 include "hu(def_nodead)"
277 include "hu(def_common)"
278 include "level3(ralt_switch)"
279 };
280
281 // 102_qwerty_dot_dead
282 // 102 key qwerty layout
283 // with decimal dot on keypad
284 // and with dead key support
285 partial
286 xkb_symbols "102_qwerty_dot_dead" {
287 name[Group1] = "Hungarian (QWERTY, 102-key, dot, dead keys)";
288 include "latin"
289 include "hu(def_102)"
290 include "hu(def_qwerty)"
291 include "hu(def_dot)"
292 include "hu(def_dead)"
293 include "hu(def_common)"
294 include "level3(ralt_switch)"
295 };
296
297 // 102_qwerty_dot_nodead
298 // 102 key qwerty layout
299 // with decimal dot on keypad
300 // and without dead key support
301 partial
302 xkb_symbols "102_qwerty_dot_nodead" {
303 name[Group1] = "Hungarian (QWERTY, 102-key, dot, no dead keys)";
304 include "latin"
305 include "hu(def_102)"
306 include "hu(def_qwerty)"
307 include "hu(def_dot)"
308 include "hu(def_nodead)"
309 include "hu(def_common)"
310 include "level3(ralt_switch)"
311 };
312
313 // Partial layouts
314
315 // def_102:
316 // The standard Hungarian 102 key layout
317 hidden partial alphanumeric_keys
318 xkb_symbols "def_102" {
319 key <TLDE> { [ 0, section, notsign ] };
320 key <LSGT> { [ iacute, Iacute, less, greater ] };
321
322 };
323
324 // def_101:
325 // An alternative layout for 101 key keyboards
326 hidden partial alphanumeric_keys
327 xkb_symbols "def_101" {
328 key <TLDE> { [ iacute, Iacute, 0, section ] };
329 key <LSGT> { [ less, greater ] };
330 };
331
332 // def_qwertz:
333 // The standard Hungaryan qwertz layout
334 hidden partial alphanumeric_keys
335 xkb_symbols "def_qwertz" {
336 key <AD06> { [ z, Z, endash ] };
337 key <AB01> { [ y, Y, greater ] };
338 };
339
340
341 // def_qwerty:
342 // The qwerty layout for people who familiar with the standard US layout
343 hidden partial alphanumeric_keys
344 xkb_symbols "def_qwerty" {
345 key <AD06> { [ y, Y, endash ] };
346 key <AB01> { [ z, Z, greater ] };
347 };
348
349 // def_dot:
350 // The Hungarian standard is the comma on the keypad not decimal dot,
351 // but programmers hate it
352 hidden partial keypad_keys
353 xkb_symbols "def_dot" {
354 key <KPDL> { [ KP_Delete, KP_Decimal ] };
355 };
356
357
358 // def_dead:
359 // Dead keys support part
360 hidden partial alphanumeric_keys
361 xkb_symbols "def_dead" {
362 key <AE01> { [ 1, apostrophe, asciitilde, dead_tilde ] };
363 key <AE02> { [ 2, quotedbl, dead_caron, caron ] };
364 key <AE03> { [ 3, plus, asciicircum, dead_circumflex ] };
365 key <AE04> { [ 4, exclam, dead_breve, breve ] };
366 key <AE05> { [ 5, percent, dead_abovering, degree ] };
367 key <AE06> { [ 6, slash, dead_ogonek, ogonek ] };
368 key <AE07> { [ 7, equal, grave, dead_grave ] };
369 key <AE08> { [ 8, parenleft, dead_abovedot, abovedot ] };
370 key <AE09> { [ 9, parenright, dead_acute, acute ] };
371 key <AE10> { [ odiaeresis, Odiaeresis, dead_doubleacute, doubleacute ] };
372 key <AE11> { [ udiaeresis, Udiaeresis, dead_diaeresis, diaeresis ] };
373 key <AE12> { [ oacute, Oacute, dead_cedilla, cedilla ] };
374 };
375
376 // def_nodead:
377 // Without dead keys support
378 hidden partial alphanumeric_keys
379 xkb_symbols "def_nodead" {
380 key <AE01> { [ 1, apostrophe, asciitilde ] };
381 key <AE02> { [ 2, quotedbl, caron ] };
382 key <AE03> { [ 3, plus, asciicircum ] };
383 key <AE04> { [ 4, exclam, breve ] };
384 key <AE05> { [ 5, percent, degree ] };
385 key <AE06> { [ 6, slash, ogonek ] };
386 key <AE07> { [ 7, equal, grave ] };
387 key <AE08> { [ 8, parenleft, abovedot ] };
388 key <AE09> { [ 9, parenright, acute ] };
389 key <AE10> { [ odiaeresis, Odiaeresis, doubleacute ] };
390 key <AE11> { [ udiaeresis, Udiaeresis, diaeresis ] };
391 key <AE12> { [ oacute, Oacute, cedilla ] };
392 };
393
394
395 // def_common:
396 // The common part of all Hungarian layout above
397 hidden partial alphanumeric_keys
398 xkb_symbols "def_common" {
399 key <AD01> { [ q, Q, backslash ] };
400 key <AD02> { [ w, W, bar ] };
401 key <AD03> { [ e, E, Adiaeresis ] };
402 key <AD07> { [ u, U, EuroSign ] };
403 key <AD08> { [ i, I, Iacute, iacute ] };
404 key <AD09> { [ o, O, doublelowquotemark ] };
405 key <AD10> { [ p, P, rightdoublequotemark ] };
406 key <AD11> { [ odoubleacute, Odoubleacute, division ] };
407 key <AD12> { [ uacute, Uacute, multiply ] };
408
409 key <AC01> { [ a, A, adiaeresis, Adiaeresis ] };
410 key <AC02> { [ s, S, dstroke ] };
411 key <AC03> { [ d, D, Dstroke ] };
412 key <AC04> { [ f, F, bracketleft ] };
413 key <AC05> { [ g, G, bracketright ] };
414 key <AC07> { [ j, J, iacute, Iacute ] };
415 key <AC08> { [ k, K, lstroke ] };
416 key <AC09> { [ l, L, Lstroke ] };
417 key <AC10> { [ eacute, Eacute, dollar, cent ] };
418 key <AC11> { [ aacute, Aacute, ssharp, U1E9E ] };
419
420 key <BKSL> { [ udoubleacute, Udoubleacute, currency ] };
421
422 key <AB02> { [ x, X, numbersign ] };
423 key <AB03> { [ c, C, ampersand ] };
424 key <AB04> { [ v, V, at ] };
425 key <AB05> { [ b, B, braceleft ] };
426 key <AB06> { [ n, N, braceright ] };
427 key <AB07> { [ m, M, less ] };
428 key <AB08> { [ comma, question, semicolon ] };
429 key <AB09> { [ period, colon, greater ] };
430 key <AB10> { [ minus, underscore, asterisk ] };
431
432 };
433
434 // EXTRAS:
435
436 // Old Hungarian keyboard layouts.
437 //
438 // (C) 2013 Andras Tisza
439 // (C) 2017,2018,2020 Viktor Kovacs <[email protected]>
440 //
441 // Permission is granted to anyone to use, distribute and modify
442 // this file in any way, provided that the above copyright notice
443 // is left intact and the author of the modification summarizes
444 // the changes in this header.
445 //
446 // This file is distributed without any expressed or implied warranty.
447 //
448 // Changes:
449 // 2013 - Planned Old Hungarian layout
450 // 2017 - Added Old Hungarian layout
451 // 2018 - Resolved several easy-of-use issues, added extra punctuation and quotation marks.
452 // 2020 - Added ligature-capable layout (with zero-width-joiner), added copyright, copyleft symbols.
453 // 2020 - Added ZWNJ key to “Old Hungarian (for ligatures)”, changed its ohu_lig id to oldhunlig.
454 // - Added “oldhun_magic_numpad” for both "Old Hungarian" layouts, as a specialised numpad.
455 // 2023 - Added decimal comma
456 // 2023 - Removed basic “Old Hungarian” layout (oldhun) in favor of its variant with ligatures (oldhunlig).
457 // 2024 - Added “oldhun_sk*” Old Hungarian layouts for Carpathian Highlands' users
458
459 // Old Hungarian layout for ligatures
460 partial alphanumeric_keys
461 xkb_symbols "oldhunlig" {
462 name[Group1]="Old Hungarian (for ligatures)";
463 include "hu(oldhun_base)"
464 include "hu(oldhun_lig)"
465 include "hu(oldhun_magic_numpad)"
466 include "level3(ralt_switch)"
467 };
468
469 // The base Old Hungarian keys
470 // In the remarks you can read characters displayed only Unicode point
471 hidden partial alphanumeric_keys
472 xkb_symbols "oldhun_base" {
473 key.type[Group1]="FOUR_LEVEL_ALPHABETIC";
474 key <AD01> {[ U10CCE, U10C8E, backslash ]};
475 //Old-Hungarian gy, Gy
476 key <AD02> {[ U10CF0, U10CB0 ]};
477 //Old Hungarian zs, Zs
478 key <AD03> {[ U10CC9, U10C89, U10CCA, U10C8A ]};
479 //Old Hungarian e, E, close e, close E
480 key <AD04> {[ U10CE2, U10CA2, U10CE3, U10CA3 ]};
481 //Old Hungarian r, R, short r, short R
482 key <AD05> {[ U10CE6, U10CA6, U10CF1, U10CB1 ]};
483 //Old Hungarian t, T, ent-sharped sign,Ent-sharped sign
484 key <AD06> {[ U10CEF, U10CAF ]};
485 //Old Hungarian z, Z
486 key <AD07> {[ U10CEA, U10CAA, U10CF2, U10CB2 ]};
487 //Old Hungarian u, U, Old Hungarian us, Us
488 key <AD08> {[ U10CD0, U10C90, U10CD1, U10C91 ]};
489 //Old Hungarian i, I, ii, II
490 key <AD09> {[ U10CDB, U10C9B ]};
491 //Old Hungarian o, O
492 key <AD10> {[ U10CE0, U10CA0 ]};
493 //Old Hungarian p, P
494 key <AD11> {[ U10CDF, U10C9F ]};
495 //Old Hungarian oee, Oee
496 key <AD12> {[ U10CEB, U10CAB, U10CD5, U10C95 ]};
497 //Old Hungarian uu,Uu,unk,Unk
498 key <AC01> {[ U10CC0, U10C80, U10CC3, U10C83 ]};
499 //Old Hungarian a,A,amb,Amb
500 key <AC02> {[ U10CE4, U10CA4, U10CE1, U10CA1 ]};
501 //Old Hungarian s,S,emp,Emp
502 key <AC03> {[ U10CC7, U10C87, U10CE7, U10CA7 ]};
503 //Old Hungarian d,D, ent/ant/int, Ent/Ant/Int
504 key <AC04> {[ U10CCC, U10C8C, bracketleft ]};
505 //Old Hungarian f,F
506 key <AC05> {[ U10CCD, U10C8D, bracketright ]};
507 //Old Hungarian g, G
508 key <AC06> {[ U10CCF, U10C8F, U10CE9, U10CA9 ]};
509 //Old Hungarian h, H,ech, Ech
510 key <AC07> {[ U10CD2, U10C92, backslash ]};
511 //Old Hungarian j, J
512 key <AC08> {[ U10CD3, U10C93, U10CD4, U10C94 ]};
513 //Old Hungarian open k, open K, close k, close K
514 key <AC09> {[ U10CD6, U10C96 ]};
515 //Old Hungarian l, L
516 key <AC10> {[ U10CCB, U10C8B ]};
517 //Old Hungarian ee, EE
518 key <AC11> {[ U10CC1, U10C81, U10CC8, U10C88 ]};
519 //Old Hungarian aa, AA, and And
520 key <BKSL> {[ U10CEC, U10CAC ]};
521 //Old Hungarian ue, Ue
522 key <AB01> {[ U10CD7, U10C97, greater ]};
523 //Old Hungarian ly, Ly
524 key <AB02> {[ U10CE5, U10CA5, numbersign ]};
525 //Old Hungarian sz, Sz
526 key <AB03> {[ U10CC4, U10C84, U10CC5, U10C85 ]};
527 //Old Hungarian c,C, enc, Enc
528 key <AB04> {[ U10CEE, U10CAE, at ]};
529 //Old Hungarian v,V
530 key <AB05> {[ U10CC2, U10C82, braceleft ]};
531 //Old Hungarian b, B
532 key <AB06> {[ U10CD9, U10C99, braceright ]};
533 //Old Hungarian n, N
534 key <AB07> {[ U10CD8, U10C98, less ]};
535 //Old Hungarian m, M
536 key <AB08> {[ U2E41, U2E2E, U204F, comma ]};
537 //reversed question mark,reversed semicolon, reversed comma
538 key <AB09> {[ period, colon, greater ]};
539 key <AB10> {[ minus, underscore, asterisk ]};
540 key <LSGT> {[ U10CD1, U10C91, less ]};
541 //Old Hungarian ii,II
542 };
543
544
545 //Special section for "Old Hungarian (for ligatures)" layout
546 // In the remarks you can read characters displayed only Unicode point
547 hidden partial alphanumeric_keys
548 xkb_symbols "oldhun_lig" {
549 key.type[Group1]="FOUR_LEVEL_ALPHABETIC";
550 key <TLDE> {[ U200D, U200F, U200C, 0 ]};
551 //Zero-width-joiner,Right to left mark, Zero-width-non-joiner
552 //Zero-width-joiner and Zero-width-non-joiner are reqired for ligatures
553 key <AE01> {[ U10CFA, apostrophe, U2E42, 1 ]};
554 //Old Hungarian one, reversed 9 double low quotemark
555 key <AE02> {[ U10CFB, quotedbl, U201F, 2 ]};
556 //Old Hungarian five, reversed 9 double upper quotemark
557 key <AE03> {[ U10CFC, plus, minus, 3 ]};
558 //Old Hungarian ten
559 key <AE04> {[ U10CFD, exclam, U203C, 4 ]};
560 //Old Hungarian fifty,double exclam
561 key <AE05> {[ U10CFE, percent, U2026, 5 ]};
562 //Old Hungarian hundred, triple dot
563 key <AE06> {[ U10CFF, slash, backslash, 6 ]};
564 //Old Hungarian thousand
565 key <AE07> {[ U10CC6, U10C86, equal, 7 ]};
566 //Old Hungarian cs, Cs
567 key <AE08> {[ U10CDA, U10C9A, parenleft, 8 ]};
568 //Old Hungarian ny, Ny
569 key <AE09> {[ U10CE8, U10CA8, parenright, 9 ]};
570 //Old Hungarian ty, Ty
571 key <AE10> {[ U10CDE, U10C9E, U10CDD, U10C9D ]};
572 //Old Hungarian Rudimenta oe, Oe, Nikolsburg oe, Oe
573 key <AE11> {[ U10CED, U10CAD, section ]};
574 //Old Hungarian ue , Ue
575 key <AE12> {[ U10CDC, U10C9C, copyright, U1F12F ]};
576 //Old Hungarian oo, OO, copyleft
577 };
578
579 // Old Hungarian layouts for Carpathian Highlands' users
580 partial alphanumeric_keys
581 xkb_symbols "oldhun_sk_sh" {
582 name[Group1] = "Old Hungarian (Carpathian Highlands, S as Sh)";
583 key.type[Group1] = "FOUR_LEVEL_ALPHABETIC";
584 include "hu(ohu_sk_fullcaps_req)"
585 key.type[Group1] = "FOUR_LEVEL";
586 include "hu(ohu_sk_nocaps_req)"
587 key.type[Group1] = "FOUR_LEVEL_SEMIALPHABETIC";
588 include "hu(ohu_sk_semicaps_req)"
589 include "hu(oldhun_magic_numpad)"
590 key.type[Group1] = "FOUR_LEVEL_ALPHABETIC";
591 include "hu(SK_Sh)"
592 include "level3(ralt_switch)"
593
594 };
595
596 partial alphanumeric_keys
597 xkb_symbols "oldhun_sk_sz" {
598 name[Group1] = "Old Hungarian (Carpathian Highlands, S as Sz)";
599 key.type[Group1] = "FOUR_LEVEL_ALPHABETIC";
600 include "hu(ohu_sk_fullcaps_req)"
601 key.type[Group1] = "FOUR_LEVEL";
602 include "hu(ohu_sk_nocaps_req)"
603 key.type[Group1] = "FOUR_LEVEL_SEMIALPHABETIC";
604 include "hu(ohu_sk_semicaps_req)"
605 include "hu(oldhun_magic_numpad)"
606 key.type[Group1] = "FOUR_LEVEL_ALPHABETIC";
607 include "hu(SK_Sz)"
608 include "level3(ralt_switch)"
609 };
610
611 hidden partial alphanumeric_keys
612 xkb_symbols "SK_Sh"{
613 key <AC02> { [ U10CE4, U10CA4, U10CE1, U10CA1 ] };
614 // Old Hungarian small and capital S, Emp
615
616 };
617
618 hidden partial alphanumeric_keys
619 xkb_symbols "SK_Sz"{
620 key <AC02> { [ U10CE5, U10CA5, U10CE1, U10CA1 ] };
621 // Old Hungarian small and capital Sz, Emp
622
623 };
624
625
626 hidden partial alphanumeric_keys
627 xkb_symbols "ohu_sk_fullcaps_req"{
628 key <AE01> { [ plus, exclam, plus, 1 ] };
629 key <AE02> { [ U10CD7, U10C97, U10CFA, 2 ] };
630 // Old Hungarian small and capital Ly, Old Hungarian number ONE
631 key <AE03> { [ U10CE4, U10CA4, U10CFB, 3 ] };
632 // Old Hungarian small and capital S, Old Hungarian number FIVE
633 key <AE04> { [ U10CC6, U10C86, U10CFC, 4 ] };
634 // Old Hungarian small and capital Cs, Old Hungarian number TEN
635 key <AE05> { [ U10CE8, U10CA8, U10CFD, 5 ]};
636 // Old Hungarian small and capital Ty, Old Hungarian number FIFTY
637 key <AE06> { [ U10CF0, U10CB0, U10CFE, 6 ] };
638 // Old Hungarian small and capital Zs, Old Hungarian number HUNDRED
639 key <AE07> { [ U10CEC, U10CAC, U10CFF, 7] };
640 // Old Hungarian small and capital NIKOLSBURG UE, Old Hungarian nomber THOUSAND
641 key <AE08> { [ U10CC1, U10C81, apostrophe, 8]};
642 // Old Hungarian small and capital AA
643 key <AE09> { [ U10CD1, U10C91, braceleft, 9] };
644 // Old Hungarian small and capital II
645 key <AE10> { [ U10CCB, U10C8B, braceright, 0] };
646 // Old Hungarian small and capital EE
647 key <AD03> { [ U10CC9, U10C89, U10CCA, U10C8A ] };
648 //Old Hubgarian small and capital E, close E
649 key <AD04> { [ U10CE2, U10CA2, U10CE3, U10CA3 ] };
650 // Old Hungarian small and capital letter R, short R
651 key <AD05> { [ U10CE6, U10CA6, U10CF1, U10CB1 ] };
652 //Old Hungarian small and capital letter T, Ent shaped sign
653 key <AD07> { [ U10CEA, U10CAA, U10CF2, U10CB2 ] };
654 //Old Hungarian small and capital letter U, US
655 key <AD08> { [ U10CD0, U10C90, U10CD1, U10C91 ] };
656 //Old Hungarian small and capital letter I,II
657 key <AD11> { [ U10CEB, U10CAB, U10CD5, U10C95] };
658 //Old Hungarian small and capital letter UU, Unk
659 key <AD12> { [ U10CDE, U10C9E, U10CDD, U10C9D ] };
660 //Old Hungarian small and capital letter Rudimenta OE,Nikolsburg OE
661 key <AC01> { [ U10CC0, U10C80, U10CC3, U10C83 ] };
662 //Old Hungarian small and capital letter A, Amb
663 key <AC03> { [ U10CC7, U10C87, U10CE7, U10CA7 ] };
664 //Old Hungarian small and capital letter D, Ent/Ant/int
665 key <AC06> { [ U10CCF, U10C8F, U10CE9, U10CA9 ] };
666 //Old Hungarian small and capital letter H, Ch
667 key <AC07> { [ U10CD2, U10C92, U10CD7, U10C97] };
668 //Old Hungarian small and capital letter J, Ly
669 key <AC09> { [ U10CD6, U10C96, U10CD7, U10C97 ] };
670 //Old Hungarian small and capital letter L, Ly
671 key <AC10> { [ U10CDC, U10C9C, U10CC8, U10C88 ] };
672 //Old Hungarian small and capital letter OO, And
673 key <AB01> { [ U10CEC, U10CAC, U10CC8, U10C88]};
674 //Old Hungarian small and capital letter Rudimenta UE, AMB
675 key <AB03> { [ U10CC4, U10C84, U10CC5, U10C85 ] };
676 //Old Hungarian small and capital letter C, NC
677 key <AC08> { [ U10CD3, U10C93, U10CD4, U10C94] };
678 //Old Hungarian small and capital letter eK,aK
679
680 };
681
682 hidden partial alphanumeric_keys
683 xkb_symbols "ohu_sk_nocaps_req"{
684 key <TLDE> { [ U200D, U200F, U200E, NoSymbol] };
685 //ZWJ, RTL, LTR
686 key <AE11> { [ equal, percent ,exclam, U2E42 ]};
687 key <AE12> { [ U204F, U204F, quotedbl, U201F ] };
688 key <LSGT> { [ backslash, bar, slash, NoSymbol ] };
689 key <AB08> { [ U2E41, U2E2E, U204F, comma ] };
690 // reversed comma, reversed question mark, reversed semicolon
691 key <AB09> { [ period, colon, greater, less ] };
692 key <AB10> { [ minus, underscore, asterisk, comma ] };
693
694 };
695
696 hidden partial alphanumeric_keys
697 xkb_symbols "ohu_sk_semicaps_req"{
698 key <AC11> { [ U10CDF,U10C9F, apostrophe, quotedbl ] };
699 //Old Hungarian small and capital letter OEE
700 key <BKSL> { [ U10CDA, U10C9A, backslash, parenright ] };
701 //Old Hungarian small and capital letter Ny
702 key <AD01> { [ U10CCE, U10C8E, backslash, slash ] };
703 //Old Hungarian small and capital Gy
704 key <AD02> { [ U10CF0, U10CB0, bar, NoSymbol ] };
705 //Old Hungarian small and capital Zs
706 key <AD06> { [ U10CEF, U10CAF, NoSymbol, NoSymbol] };
707 //Old Hungarian small and capital letter Z
708 key <AD09> { [ U10CDB, U10C9B, bracketright, multiply ] };
709 //Old Hungarian small and capital letter O
710 key <AD10> { [ U10CE0, U10CA0, bracketleft, division ] };
711 //Old Hungarian small and capital letter P
712 key <AC04> { [ U10CCC, U10C8C, bracketleft, bracketright ] };
713 //Old Hungaran small and capital letter F
714 key <AC05> { [ U10CCD, U10C8D, bracketright, bracketleft ] };
715 //Old Hungarian small and capital letter G
716 key <AB02> { [ U10CE5, U10CA5, numbersign, ampersand ] };
717 //Old Hungarian small and capital letter Sz
718 key <AB04> { [ U10CEE, U10CAE, at, NoSymbol ] };
719 //Old Hungarian small and capital letter V
720 key <AB05> { [ U10CC2, U10C82, braceleft, braceright ] };
721 //Old Hungarian small and capital letter B
722 key <AB06> { [ U10CD9, U10C99, braceright, braceleft ] };
723 //Old Hungarian small and capital letter N
724 key <AB07> { [ U10CD8, U10C98, asciicircum, NoSymbol ] };
725 //Old Hungarian small and capital letter M
726
727 };
728
729
730 // Numpad for Old Hungarian layouts
731 // In the remarks you can read characters displayed only Unicode point
732 hidden partial keypad_keys
733 xkb_symbols "oldhun_magic_numpad" {
734 key.type[Group1]="FOUR_LEVEL_MIXED_KEYPAD";
735 key <NMLK> {[ Num_Lock, Num_Lock, Num_Lock, Num_Lock ]};
736 key <KP0> {[ KP_Insert, KP_0, U200C, U200C ]};
737 //Zero-width-non-joiner
738 key <KP7> {[ KP_Home, KP_7, U10CFA, U10CFA ]};
739 //Old Hungarian number one
740 key <KP8> {[ KP_Up, KP_8, U10CFB, U10CFB ]};
741 //Old Hungarian number five
742 key <KP9> {[ KP_Prior, KP_9, U10CFC, U10CFC ]};
743 //Old Hungarian number ten
744 key <KP4> {[ KP_Left, KP_4, U10CFD, U10CFD ]};
745 //Old Hungarian number fifty
746 key <KP5> {[ KP_Begin, KP_5, U10CFE, U10CFE ]};
747 //Old Hungarian number hundred
748 key <KP6> {[ KP_Right, KP_6, U10CFF, U10CFF ]};
749 //Old Hungarian number thousand
750 key <KP1> {[ KP_End, KP_1, U200F, U200F ]};
751 //Right-to-left mark
752 key <KP2> {[ KP_Down, KP_2, U200D, U200D ]};
753 //Zero-width-joiner
754 key <KP3> {[ KP_Next, KP_3, U200E, U200E ]};
755 //Left-to-right mark
756 key <KPEN> {[ KP_Enter, KP_Enter, KP_Enter, KP_Enter ]};
757 key <KPEQ> {[ KP_Equal, KP_Equal, KP_Equal, KP_Equal ]};
758 key <KPDL> {[ KP_Delete, KP_Separator, KP_Delete, KP_Separator ]};
759 key <KPPT> {[ KP_Separator, KP_Separator, KP_Separator, KP_Separator ]};
760 key <KPDV> {[ KP_Divide, KP_Divide, KP_Divide, KP_Divide ]};
761 key <KPMU> {[ KP_Multiply, KP_Multiply, KP_Multiply, KP_Multiply ]};
762 key <KPSU> {[ KP_Subtract, KP_Subtract, KP_Subtract, KP_Subtract ]};
763 key <KPAD> {[ KP_Add, KP_Add, KP_Add, KP_Add ]};
764 };
765
766 // English (US layout with Hungarian characters)
767 // Hungarian characters are included on right alt layer
768 partial alphanumeric_keys
769 xkb_symbols "us" {
770 include "us"
771 name[Group1] = "Hungarian (US)";
772
773 key <AD03> {[ e, E, eacute, Eacute ]}; // e E é É
774 key <AD05> {[ t, T, udoubleacute, Udoubleacute ]}; // t T ű Ű
775 key <AD06> {[ y, Y, udiaeresis, Udiaeresis ]}; // y Y ü Ü
776 key <AD07> {[ u, U, uacute, Uacute ]}; // u U ú Ú
777 key <AD08> {[ i, I, iacute, Iacute ]}; // i I í Í
778 key <AD09> {[ o, O, oacute, Oacute ]}; // o O ó Ó
779 key <AD10> {[ p, P, odiaeresis, Odiaeresis ]}; // p P ö Ö
780 key <AD11> {[ bracketleft, braceleft, odoubleacute, Odoubleacute ]}; // [ { ő Ő
781
782 key <AC01> {[ a, A, aacute, Aacute ]}; // a A á Á
783
784 include "level3(ralt_switch)"
785 };