From 815029fc6f3d270a6b03888b20810e7663a4ba32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Kov=C3=A1cs?= Date: Mon, 28 Aug 2017 14:27:37 +0200 Subject: [PATCH] Added Old Hungarian keyboard layout --- rules/base.extras.xml.in | 17 +++++++ symbols/hu | 113 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 129 insertions(+), 1 deletion(-) diff --git a/rules/base.extras.xml.in b/rules/base.extras.xml.in index d64d79b..441b053 100644 --- a/rules/base.extras.xml.in +++ b/rules/base.extras.xml.in @@ -994,6 +994,23 @@ + + + hu + <_shortDescription>hu + <_description>Hungarian + + + + + oldhun + <_shortDescription>hu + <_description>Székely-Hungarian + + + + + diff --git a/symbols/hu b/symbols/hu index 677a5b6..05cbf43 100644 --- a/symbols/hu +++ b/symbols/hu @@ -4,7 +4,8 @@ // // (C) 2002-2004 Soós Péter // (C) 2010 Andras Timar -// +// (C) 2013 András Tisza +// (C) 2017 Viktor Kovács // 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,9 @@ // - Added rightdoublequotemark // - Added endash // 2010-05-13 - Added ellipsis +// 2017-08-28 -Added oldhun layout by plans of András Tisza +// -Added Right-to-left mark to oldhun +// -Added Left-to-right mark to oldhun // Default layout @@ -430,3 +434,110 @@ xkb_symbols "def_common" { key { [ minus, underscore, asterisk ] }; }; + + +partial alphanumeric_keys +xkb_symbols "oldhun"{ +name[Group1]="Székely-Hungarian"; +include "capslock(capslock)" +include "level3(ralt_switch)" +key.type="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 ]}; + }; -- 2.7.4