From c87bb02bc19f56175c12cfe2ea5baf3cba2c28f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kov=C3=A1cs=20Viktor?= Date: Mon, 28 Aug 2017 08:26:29 +0200 Subject: [PATCH] Added Old Hungarian keyboard layout --- rules/base.extras.xml.in | 19 +++++- symbols/hu | 153 +++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 152 insertions(+), 20 deletions(-) diff --git a/rules/base.extras.xml.in b/rules/base.extras.xml.in index d64d79b..b3e1b30 100644 --- a/rules/base.extras.xml.in +++ b/rules/base.extras.xml.in @@ -994,8 +994,25 @@ + + + hu + <_shortDescription>hu<_shortDescription> + <_description>Hungarian + + + + + oldhun + <_shortDescription>huSH + <_description>Szekely-Hungarian + + + + - + + diff --git a/symbols/hu b/symbols/hu index 677a5b6..70e024c 100644 --- a/symbols/hu +++ b/symbols/hu @@ -4,7 +4,8 @@ // // (C) 2002-2004 Soós Péter // (C) 2010 Andras Timar -// +// (C) 2013 Tisza András (planner of oldhun layout) +// (C) 2017 Kovács Viktor (implementer of modified plan oldhun layout) // 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 @@ -22,6 +23,14 @@ // - Added rightdoublequotemark // - Added endash // 2010-05-13 - Added ellipsis +// 2017-08-27 - Added oldhun layout, and modified the followings: +// - Removed multikey capability. +// - Changed combination keys caps+shift and alt to alt and alt+shift. +// - Added U201e, U201f coded quotedouble characters, removed base quotedbl. +// - Added asciicircum, degree, copyright characters. +// - Added Right-to-left mark and Left-to-right mark codes into +shift and +alt+shift positions. +// - Moved Old Hungarian "ech" characters to position (H). +// - The brackets from , to , // Default layout @@ -42,14 +51,14 @@ xkb_symbols "standard" { partial xkb_symbols "nodeadkeys" { include "hu(102_qwertz_comma_nodead)" - name[Group1] = "Hungarian (no dead keys)"; + name[Group1] = "Hungarian (eliminate dead keys)"; }; // Qwerty layout partial xkb_symbols "qwerty" { include "hu(101_qwerty_comma_dead)" - name[Group1] = "Hungarian (QWERTY)"; + name[Group1] = "Hungarian (qwerty)"; }; // Main layouts @@ -60,7 +69,7 @@ xkb_symbols "qwerty" { // and with dead key support partial xkb_symbols "101_qwertz_comma_dead" { - name[Group1] = "Hungarian (101/QWERTZ/comma/dead keys)"; + name[Group1] = "Hungarian (101/qwertz/comma/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" @@ -76,7 +85,7 @@ xkb_symbols "101_qwertz_comma_dead" { // and without dead key support partial xkb_symbols "101_qwertz_comma_nodead" { - name[Group1] = "Hungarian (101/QWERTZ/comma/no dead keys)"; + name[Group1] = "Hungarian (101/qwertz/comma/eliminate dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" @@ -92,7 +101,7 @@ xkb_symbols "101_qwertz_comma_nodead" { // and with dead key support partial xkb_symbols "101_qwertz_dot_dead" { - name[Group1] = "Hungarian (101/QWERTZ/dot/dead keys)"; + name[Group1] = "Hungarian (101/qwertz/dot/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" @@ -108,7 +117,7 @@ xkb_symbols "101_qwertz_dot_dead" { // and without dead key support partial xkb_symbols "101_qwertz_dot_nodead" { - name[Group1] = "Hungarian (101/QWERTZ/dot/no dead keys)"; + name[Group1] = "Hungarian (101/qwertz/dot/eliminate dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwertz)" @@ -124,7 +133,7 @@ xkb_symbols "101_qwertz_dot_nodead" { // and with dead key support partial xkb_symbols "101_qwerty_comma_dead" { - name[Group1] = "Hungarian (101/QWERTY/comma/dead keys)"; + name[Group1] = "Hungarian (101/qwerty/comma/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" @@ -140,7 +149,7 @@ xkb_symbols "101_qwerty_comma_dead" { // and without dead key support partial xkb_symbols "101_qwerty_comma_nodead" { - name[Group1] = "Hungarian (101/QWERTY/comma/no dead keys)"; + name[Group1] = "Hungarian (101/qwerty/comma/eliminate dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" @@ -156,7 +165,7 @@ xkb_symbols "101_qwerty_comma_nodead" { // and with dead key support partial xkb_symbols "101_qwerty_dot_dead" { - name[Group1] = "Hungarian (101/QWERTY/dot/dead keys)"; + name[Group1] = "Hungarian (101/qwerty/dot/dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" @@ -172,7 +181,7 @@ xkb_symbols "101_qwerty_dot_dead" { // and without dead key support partial xkb_symbols "101_qwerty_dot_nodead" { - name[Group1] = "Hungarian (101/QWERTY/dot/no dead keys)"; + name[Group1] = "Hungarian (101/qwerty/dot/eliminate dead keys)"; include "latin" include "hu(def_101)" include "hu(def_qwerty)" @@ -188,7 +197,7 @@ xkb_symbols "101_qwerty_dot_nodead" { // and with dead key support partial xkb_symbols "102_qwertz_comma_dead" { - name[Group1] = "Hungarian (102/QWERTZ/comma/dead keys)"; + name[Group1] = "Hungarian (102/qwertz/comma/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" @@ -204,7 +213,7 @@ xkb_symbols "102_qwertz_comma_dead" { // and without dead key support partial xkb_symbols "102_qwertz_comma_nodead" { - name[Group1] = "Hungarian (102/QWERTZ/comma/no dead keys)"; + name[Group1] = "Hungarian (102/qwertz/comma/eliminate dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" @@ -220,7 +229,7 @@ xkb_symbols "102_qwertz_comma_nodead" { // and with dead key support partial xkb_symbols "102_qwertz_dot_dead" { - name[Group1] = "Hungarian (102/QWERTZ/dot/dead keys)"; + name[Group1] = "Hungarian (102/qwertz/dot/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" @@ -236,7 +245,7 @@ xkb_symbols "102_qwertz_dot_dead" { // and without dead key support partial xkb_symbols "102_qwertz_dot_nodead" { - name[Group1] = "Hungarian (102/QWERTZ/dot/no dead keys)"; + name[Group1] = "Hungarian (102/qwertz/dot/eliminate dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwertz)" @@ -252,7 +261,7 @@ xkb_symbols "102_qwertz_dot_nodead" { // and with dead key support partial xkb_symbols "102_qwerty_comma_dead" { - name[Group1] = "Hungarian (102/QWERTY/comma/dead keys)"; + name[Group1] = "Hungarian (102/qwerty/comma/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" @@ -268,7 +277,7 @@ xkb_symbols "102_qwerty_comma_dead" { // and without dead key support partial xkb_symbols "102_qwerty_comma_nodead" { - name[Group1] = "Hungarian (102/QWERTY/comma/no dead keys)"; + name[Group1] = "Hungarian (102/qwerty/comma/eliminate dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" @@ -284,7 +293,7 @@ xkb_symbols "102_qwerty_comma_nodead" { // and with dead key support partial xkb_symbols "102_qwerty_dot_dead" { - name[Group1] = "Hungarian (102/QWERTY/dot/dead keys)"; + name[Group1] = "Hungarian (102/qwerty/dot/dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" @@ -300,7 +309,7 @@ xkb_symbols "102_qwerty_dot_dead" { // and without dead key support partial xkb_symbols "102_qwerty_dot_nodead" { - name[Group1] = "Hungarian (102/QWERTY/dot/no dead keys)"; + name[Group1] = "Hungarian (102/qwerty/dot/eliminate dead keys)"; include "latin" include "hu(def_102)" include "hu(def_qwerty)" @@ -310,6 +319,112 @@ xkb_symbols "102_qwerty_dot_nodead" { include "level3(ralt_switch)" }; +partial alphanumeric_keys +xkb_symbols "oldhun"{ +name[Group1]="Szekely-Hungarian"; +include "capslock(capslock)" +include "level3(ralt_switch)" +key.type[Group1]="FOUR_LEVEL_SEMIALPHABETIC"; + key {[U10CFA, apostrophe,1,asciitilde ]}; + + key {[ U10CFB , U201E,2, U201F]}; + + key {[ U10CFC,plus,3, asciicircum]}; + + key {[ U10CFD, exclam, 4, U2E2E]}; + + key {[ U10CFE, percent,5, degree]}; + + key {[ U10CFF, slash, 6, backslash]}; + + key {[U10CC6, U10C86, 7, equal]}; + + key {[ U10CDA, U10C9A, 8, parenleft]}; + + key {[U10CE8, U10CA8, 9, parenright]}; + + key {[ U10CDE, U10C9E, U10CDD, U10C9D ]}; + + key {[U10CED, U10CAD, NoSymbol, NoSymbol]}; + + key {[U10CDC, U10C9C, NoSymbol, NoSymbol ]}; + + key {[U10CCE, U10C8E, backslash, NoSymbol ]}; + + key {[U10CF0, U10CB0, NoSymbol, NoSymbol ]}; + + key {[U10CC9, U10C89, U10CCA, U10C8A ]}; + + key {[U10CE2, U10CA2, U10CE3, U10CA3 ]}; + + key {[ U10CE6, U10CA6, U10CF1, U10CB1 ]}; + + key {[U10CEF, U10CAF, NoSymbol, NoSymbol ]}; + + key {[U10CEA, U10CAA, U10CF2, U10CB2 ]}; + + key {[U10CD0, U10C90, NoSymbol, NoSymbol ]}; + + key {[U10CDB, U10C9B, NoSymbol, NoSymbol ]}; + + key {[U10CE0, U10CA0, NoSymbol, NoSymbol ]}; + + key {[U10CDF, U10C9F, NoSymbol, NoSymbol]}; + + key {[ U10CEB, U10CAB, U10CD5, U10C95]}; + + key {[ U10CC0 , U10C80, U10CC3, U10C83 ]}; + + key {[U10CE4, U10CA4, U10CE1, U10CA1 ]}; + + key {[ U10CC7, U10C87, U10CE7, U10CA7 ]}; + + + key {[ U10CD2, U10C92, backslash, NoSymbol ]}; + + key {[U10CD3, U10C93, U10CD4, U10C94 ]}; + + key {[U10CD6, U10C96, NoSymbol, NoSymbol]}; + + key {[U10CCB, U10C8B, NoSymbol, NoSymbol]}; + + key {[U10CC1, U10C81 , U10CC8, U10C88]}; + + + + key {[U10CEC, U10CAC, NoSymbol, NoSymbol]}; + + key {[ U10CD7, U10C97, greater, NoSymbol ]}; + + key {[ U10CE5, U10CA5, numbersign , NoSymbol]}; + + key {[ U10CC4, U10C84, U10CC5, U10C85 ]}; + + key {[U10CEE, U10CAE, at, copyright]}; + + key {[U10CC2, U10C82, braceleft, NoSymbol ]}; + + key { [ U10CD9, U10C99 , braceright, NoSymbol ]}; + + key {[ U10CD8, U10C98 , less, NoSymbol]}; + + key {[U2E41, U2E2E, U204F , NoSymbol ]}; + + key {[period, colon, greater, NoSymbol ]}; + + key {[minus, underscore, asterisk , NoSymbol ]}; + + key {[U10CD1, U10C91, less, NoSymbol]}; + + key {[ section, U200F, 0, U200E]}; + +key {[U10CCC, U10C8C, bracketleft, NoSymbol]}; + + key {[ U10CCD, U10C8D, bracketright, NoSymbol ]}; + + key {[ U10CCF, U10C8F, U10CE9, U10CA9 ]}; + }; + // Partial layouts // def_102: -- 2.7.4