// New style XKB layout for some widely used Hungarian keyboard layouts // // Based on old style 'xkb/symbols/hu" // // (C) 2002-2004 Soós Péter // (C) 2010 Andras Timar // // Permission is granted to anyone to use, distribute and modify // this file in any way, provided that the above copyright notice // is left intact and the author of the modification summarizes // the changes in this header. // // This file is distributed without any expressed or implied warranty. // // Changes: // 2004-04-17 - Moved to new style (only Unicode based layouts) // - Added consistent dead key support // - Fixed abovedot // - Added adiaeresis // - Added EuroSign and cent symbol // 2010-04-23 - Added doublelowquotemark // - Added rightdoublequotemark // - Added endash // 2010-05-13 - Added ellipsis // Default layout default partial xkb_symbols "basic" { include "hu(102_qwertz_comma_dead)" name[Group1] = "Hungarian"; }; // Standard layout partial xkb_symbols "standard" { include "hu(102_qwertz_comma_dead)" name[Group1] = "Hungarian (standard)"; }; // Standard layout without dead key support partial xkb_symbols "nodeadkeys" { include "hu(102_qwertz_comma_nodead)" name[Group1] = "Hungarian (no dead keys)"; }; // Qwerty layout partial xkb_symbols "qwerty" { include "hu(101_qwerty_comma_dead)" name[Group1] = "Hungarian (QWERTY)"; }; // Main layouts // 101_qwertz_comma_dead // 101 key qwertz layout // with decimal comma on keypad // and with dead key support partial xkb_symbols "101_qwertz_comma_dead" { name[Group1] = "Hungarian (101/QWERTZ/comma/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" include "kpdl(comma)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 101_qwertz_comma_nodead // 101 key qwertz layout // with decimal comma on keypad // and without dead key support partial xkb_symbols "101_qwertz_comma_nodead" { name[Group1] = "Hungarian (101/QWERTZ/comma/no dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" include "kpdl(comma)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 101_qwertz_dot_dead // 101 key qwertz layout // with decimal dot on keypad // and with dead key support partial xkb_symbols "101_qwertz_dot_dead" { name[Group1] = "Hungarian (101/QWERTZ/dot/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" include "hu(def_dot)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 101_qwertz_dot_nodead // 101 key qwertz layout // with decimal dot on keypad // and without dead key support partial xkb_symbols "101_qwertz_dot_nodead" { name[Group1] = "Hungarian (101/QWERTZ/dot/no dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" include "hu(def_dot)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 101_qwerty_comma_dead // 101 key qwerty layout // with decimal comma on keypad // and with dead key support partial xkb_symbols "101_qwerty_comma_dead" { name[Group1] = "Hungarian (101/QWERTY/comma/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" include "kpdl(comma)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 101_qwerty_comma_nodead // 101 key qwerty layout // with decimal comma on keypad // and without dead key support partial xkb_symbols "101_qwerty_comma_nodead" { name[Group1] = "Hungarian (101/QWERTY/comma/no dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" include "kpdl(comma)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 101_qwerty_dot_dead // 101 key qwerty layout // with decimal dot on keypad // and with dead key support partial xkb_symbols "101_qwerty_dot_dead" { name[Group1] = "Hungarian (101/QWERTY/dot/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" include "hu(def_dot)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 101_qwerty_dot_nodead // 101 key qwerty layout // with decimal dot on keypad // and without dead key support partial xkb_symbols "101_qwerty_dot_nodead" { name[Group1] = "Hungarian (101/QWERTY/dot/no dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" include "hu(def_dot)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwertz_comma_dead // 102 key qwertz layout // with decimal comma on keypad // and with dead key support partial xkb_symbols "102_qwertz_comma_dead" { name[Group1] = "Hungarian (102/QWERTZ/comma/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" include "kpdl(comma)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwertz_comma_nodead // 102 key qwertz layout // with decimal comma on keypad // and without dead key support partial xkb_symbols "102_qwertz_comma_nodead" { name[Group1] = "Hungarian (102/QWERTZ/comma/no dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" include "kpdl(comma)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwertz_dot_dead // 102 key qwertz layout // with decimal dot on keypad // and with dead key support partial xkb_symbols "102_qwertz_dot_dead" { name[Group1] = "Hungarian (102/QWERTZ/dot/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" include "hu(def_dot)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwertz_dot_nodead // 102 key qwertz layout // with decimal dot on keypad // and without dead key support partial xkb_symbols "102_qwertz_dot_nodead" { name[Group1] = "Hungarian (102/QWERTZ/dot/no dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" include "hu(def_dot)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwerty_comma_dead // 102 key qwerty layout // with decimal comma on keypad // and with dead key support partial xkb_symbols "102_qwerty_comma_dead" { name[Group1] = "Hungarian (102/QWERTY/comma/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" include "kpdl(comma)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwerty_comma_nodead // 102 key qwerty layout // with decimal comma on keypad // and without dead key support partial xkb_symbols "102_qwerty_comma_nodead" { name[Group1] = "Hungarian (102/QWERTY/comma/no dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" include "kpdl(comma)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwerty_dot_dead // 102 key qwerty layout // with decimal dot on keypad // and with dead key support partial xkb_symbols "102_qwerty_dot_dead" { name[Group1] = "Hungarian (102/QWERTY/dot/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" include "hu(def_dot)" include "hu(def_dead)" include "hu(def_common)" include "level3(ralt_switch)" }; // 102_qwerty_dot_nodead // 102 key qwerty layout // with decimal dot on keypad // and without dead key support partial xkb_symbols "102_qwerty_dot_nodead" { name[Group1] = "Hungarian (102/QWERTY/dot/no dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" include "hu(def_dot)" include "hu(def_nodead)" include "hu(def_common)" include "level3(ralt_switch)" }; // Partial layouts // def_102: // The standard Hungarian 102 key layout hidden partial alphanumeric_keys xkb_symbols "def_102" { key { [ 0, section, notsign ] }; key { [ iacute, Iacute, less, greater ] }; }; // def_101: // An alternative layout for 101 key keyboards hidden partial alphanumeric_keys xkb_symbols "def_101" { key { [ iacute, Iacute, 0, section ] }; key { [ less, greater ] }; }; // def_qwertz: // The standard Hungaryan qwertz layout hidden partial alphanumeric_keys xkb_symbols "def_qwertz" { key { [ z, Z, endash ] }; key { [ y, Y, greater ] }; }; // def_qwerty: // The qwerty layout for people who familiar with the standard US layout hidden partial alphanumeric_keys xkb_symbols "def_qwerty" { key { [ y, Y, endash ] }; key { [ z, Z, greater ] }; }; // def_dot: // The Hungarian standard is the comma on the keypad not decimal dot, // but programmers hate it hidden partial keypad_keys xkb_symbols "def_dot" { key { [ KP_Delete, KP_Decimal ] }; }; // def_dead: // Dead keys support part hidden partial alphanumeric_keys xkb_symbols "def_dead" { key { [ 1, apostrophe, asciitilde, dead_tilde ] }; key { [ 2, quotedbl, dead_caron, caron ] }; key { [ 3, plus, asciicircum, dead_circumflex ] }; key { [ 4, exclam, dead_breve, breve ] }; key { [ 5, percent, dead_abovering, degree ] }; key { [ 6, slash, dead_ogonek, ogonek ] }; key { [ 7, equal, grave, dead_grave ] }; key { [ 8, parenleft, dead_abovedot, abovedot ] }; key { [ 9, parenright, dead_acute, acute ] }; key { [ odiaeresis, Odiaeresis, dead_doubleacute, doubleacute ] }; key { [ udiaeresis, Udiaeresis, dead_diaeresis, diaeresis ] }; key { [ oacute, Oacute, dead_cedilla, cedilla ] }; }; // def_nodead: // Without dead keys support hidden partial alphanumeric_keys xkb_symbols "def_nodead" { key { [ 1, apostrophe, asciitilde ] }; key { [ 2, quotedbl, caron ] }; key { [ 3, plus, asciicircum ] }; key { [ 4, exclam, breve ] }; key { [ 5, percent, degree ] }; key { [ 6, slash, ogonek ] }; key { [ 7, equal, grave ] }; key { [ 8, parenleft, abovedot ] }; key { [ 9, parenright, acute ] }; key { [ odiaeresis, Odiaeresis, doubleacute ] }; key { [ udiaeresis, Udiaeresis, diaeresis ] }; key { [ oacute, Oacute, cedilla ] }; }; // def_common: // The common part of all Hungarian layout above hidden partial alphanumeric_keys xkb_symbols "def_common" { key { [ q, Q, backslash ] }; key { [ w, W, bar ] }; key { [ e, E, Adiaeresis ] }; key { [ u, U, EuroSign ] }; key { [ i, I, Iacute, iacute ] }; key { [ o, O, doublelowquotemark ] }; key { [ p, P, rightdoublequotemark ] }; key { [ odoubleacute, Odoubleacute, division ] }; key { [ uacute, Uacute, multiply ] }; key { [ a, A, adiaeresis, Adiaeresis ] }; key { [ s, S, dstroke ] }; key { [ d, D, Dstroke ] }; key { [ f, F, bracketleft ] }; key { [ g, G, bracketright ] }; key { [ j, J, iacute, Iacute ] }; key { [ k, K, lstroke ] }; key { [ l, L, Lstroke ] }; key { [ eacute, Eacute, dollar, cent ] }; key { [ aacute, Aacute, ssharp ] }; key { [ udoubleacute, Udoubleacute, currency ] }; key { [ x, X, numbersign ] }; key { [ c, C, ampersand ] }; key { [ v, V, at ] }; key { [ b, B, braceleft ] }; key { [ n, N, braceright ] }; key { [ m, M, less ] }; key { [ comma, question, semicolon ] }; key { [ period, colon, greater ] }; key { [ minus, underscore, asterisk ] }; }; // EXTRAS: // New style XKB layout used Old Hungarian keyboard layouts // // // // (C) 2013 Andras Tisza // (C) 2017 Viktor Kovacs // // Permission is granted to anyone to use, distribute and modify // this file in any way, provided that the above copyright notice // is left intact and the author of the modification summarizes // the changes in this header. // // This file is distributed without any expressed or implied warranty. // // Changes: // 2013 - Planned Old Hungarian layout // 2017 - Added Old Hungarian layout partial alphanumeric_keys xkb_symbols "oldhun" { name[Group1]="Old Hungarian"; include "level3(caps_switch_latch)" include "level3(ralt_switch)" key.type[Group1]="FOUR_LEVEL_SEMIALPHABETIC"; // In the remarks you can read characters displayed only Unicode point key {[U10CFA, apostrophe, 1, asciitilde ]}; //Old Hungarian one key {[ U10CFB, quotedbl, 2,quotedbl]}; //Old Hungarian five key {[ U10CFC, plus, 3, plus]}; //Old Hungarian ten key {[ U10CFD, exclam, 4, exclam]}; //Old Hungarian fifty key {[ U10CFE, percent, 5, percent]}; //Old Hungarian hundred key {[ U10CFF, slash, 6, slash]}; //Old Hungarian thousand key {[U10CC6, U10C86, 7, equal]}; //Old Hungarian cs, Cs key {[ U10CDA, U10C9A, 8, parenleft]}; //Old Hungarian ny, Ny key {[U10CE8, U10CA8, 9, parenright]}; //Old Hungarian ty, Ty key {[ U10CDE, U10C9E, U10CDD, U10C9D ]}; //Old Hungarian Rudimenta oe, Oe, Nikolsburg oe, Oe key {[U10CED, U10CAD ]}; //Old Hungarian ue , Ue key {[U10CDC, U10C9C ]}; //Old Hungarian oo, OO key {[U10CCE, U10C8E, backslash ]}; //Old-Hungarian gy, Gy key {[U10CF0, U10CB0 ]}; //Old Hungarian zs, Zs key {[U10CC9, U10C89, U10CCA, U10C8A ]}; //Old Hungarian e, E, close e, close E key {[U10CE2, U10CA2, U10CE3, U10CA3 ]}; //Old Hungarian r, R, short r, short R key {[ U10CE6, U10CA6, U10CF1, U10CB1 ]}; //Old Hungarian t, T, ent-sharped sign,Ent-sharped sign key {[U10CEF, U10CAF ]}; //Old Hungarian z, Z key {[U10CEA, U10CAA, U10CF2, U10CB2 ]}; //Old Hungarian u, U, Old Hungarian us, Us key {[U10CD0, U10C90 ]}; //Old Hungarian i, I key {[U10CDB, U10C9B ]}; //Old Hungarian o, O key {[U10CE0, U10CA0 ]}; //Old Hungarian p, P key {[U10CDF, U10C9F ]}; //Old Hungarian oee, Oee key {[ U10CEB, U10CAB, U10CD5, U10C95]}; //Old Hungarian uu,Uu,unk,Unk key {[ U10CC0 , U10C80, U10CC3, U10C83 ]}; //Old Hungarian a,A,amb,Amb key {[U10CE4, U10CA4, U10CE1, U10CA1 ]}; //Old Hungarian s,S,emp,Emp key {[ U10CC7, U10C87, U10CE7, U10CA7 ]}; //Old Hungarian d,D, ent/ant/int, Ent/Ant/Int key {[U10CCC, U10C8C, U10CE9, U10CA9]}; //Old Hungarian f,F ech, Ech key {[ U10CCD, U10C8D, bracketleft ]}; //Old Hungarian g, G key {[ U10CCF, U10C8F, bracketright ]}; //Old Hungarian h, H key {[ U10CD2, U10C92, backslash ]}; //Old Hungarian j, J key {[U10CD3, U10C93, U10CD4, U10C94 ]}; //Old Hungarian open k, open K, close k, close K key {[U10CD6, U10C96 ]}; //Old Hungarian l, L key {[U10CCB, U10C8B ]}; //Old Hungarian ee, EE key {[U10CC1, U10C81 , U10CC8, U10C88]}; //Old Hungarian aa, AA, and And key {[U10CEC, U10CAC ]}; //Old Hungarian ue, Ue key {[ U10CD7, U10C97, greater ]}; //Old Hungarian ly, Ly key {[ U10CE5, U10CA5, numbersign ]}; //Old Hungarian sz, Sz key {[ U10CC4, U10C84, U10CC5, U10C85 ]}; //Old Hungarian c,C, enc, Enc key {[U10CEE, U10CAE, at ]}; //Old Hungarian v,V key {[U10CC2, U10C82, braceleft ]}; //Old Hungarian b, B key { [ U10CD9, U10C99 , braceright ]}; //Old Hungarian n, N key {[ U10CD8, U10C98 , less ]}; //Old Hungarian m, M key {[U2E41, U2E2E, U204F ]}; //reserved question mark,reserved semicolon, reserved comma key {[period, colon, greater ]}; key {[minus, underscore, asterisk ]}; key {[U10CD1, U10C91, less ]}; //Old Hungarian ii,II key {[ section, U200F, 0, U200E]}; //Right to left mark, left to right mark };