From e88572336631b59baa53e1f93b91180e2d3f21ea Mon Sep 17 00:00:00 2001 From: Sascha Brawer Date: Thu, 30 Jul 2015 10:24:00 +0200 Subject: [PATCH] Define a keyboard layout for the Ol Chiki script List Santali as a language for the Bangla, Nepali, Ol Chiki and Oriya keyboard layouts. According to Ethnologue, Santali gets written in the following scripts: Bengali [Beng], Devanagari [Deva], Latin [Latn], Ol Chiki [Olck], Oriya [Orya]. Also according to Ethnologue, the use of Santali-written-in-Devanagari [sat-Deva] is limited to Nepal, which is why this change is listing the Santali language only for the Nepali keyboard, not the Hindi keyboard. http://www.ethnologue.com/language/sat --- rules/base.lists.part | 4 +-- rules/base.xml.in | 30 +++++++++++++++++++++ symbols/in | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 2 deletions(-) diff --git a/rules/base.lists.part b/rules/base.lists.part index 08c0818..f8dcf3b 100644 --- a/rules/base.lists.part +++ b/rules/base.lists.part @@ -2,8 +2,8 @@ // If you want non-latin layouts implicitly include the en_US layout // uncomment lines below //! $nonlatin = am ara ben bd bg bt by cs deva ge gh gr guj guru il \ -// in ir iku jp kan kh kr la lao lk mk mm mn mv mal ori pk \ -// ru scc sy syr tel th tj tam ua uz +// in ir iku jp kan kh kr la lao lk mk mm mn mv mal olck \ +// ori pk ru scc sy syr tel th tj tam ua uz // PC models ! $pcmodels = pc101 pc102 pc104 pc105 diff --git a/rules/base.xml.in b/rules/base.xml.in index c502bc6..875899a 100644 --- a/rules/base.xml.in +++ b/rules/base.xml.in @@ -1786,6 +1786,8 @@ <_description>Bangla ben + + sat @@ -1813,6 +1815,8 @@ <_description>Bangla (India) ben + + sat @@ -1824,6 +1828,8 @@ <_description>Bangla (India, Probhat) ben + + sat @@ -1833,6 +1839,8 @@ <_description>Bangla (India, Baishakhi) ben + + sat @@ -1842,6 +1850,8 @@ <_description>Bangla (India, Bornona) ben + + sat @@ -1851,6 +1861,8 @@ <_description>Bangla (India, Uni Gitanjali) ben + + sat @@ -1860,6 +1872,8 @@ <_description>Bangla (India, Baishakhi Inscript) ben + + sat @@ -1968,6 +1982,20 @@ <_description>Oriya ori + + sat + + + + + + olck + + <_shortDescription>sat + <_description>Ol Chiki + + + sat @@ -5440,6 +5468,8 @@ <_description>Nepali nep + + sat diff --git a/symbols/in b/symbols/in index 04c35a2..447b094 100644 --- a/symbols/in +++ b/symbols/in @@ -4,6 +4,7 @@ // - Gujarati // - Kannada // - Malayalam +// - Ol Chiki // - Oriya // - Tamil // - Telugu @@ -21,6 +22,8 @@ // http://ekushey.org/projects/shadhinota/index.html // - Microsoft Windows XP SP2: Indic Language Standards - an Introduction: // http://www.bhashaindia.com/MSProducts/XpSp2/Articles/IndicLanguageStandards.aspx +// - Ol Chiki: +// http://www.unicode.org/L2/L2005/05243r-n2984-ol-chiki.pdf (fig. 9) // based on a keyboard map from an 'xkb/symbols/dev' file @@ -914,6 +917,75 @@ xkb_symbols "mal_lalitha" { partial alphanumeric_keys +xkb_symbols "olck" { + + // Layout for the Ol Chiki script. + // http://www.unicode.org/L2/L2005/05243r-n2984-ol-chiki.pdf (figure 9) + + name[Group1]= "Ol Chiki"; + + key { [ grave, U1C7B ] }; + + key { [ U1C51, exclam ] }; + key { [ U1C52, at ] }; + key { [ U1C53, numbersign ] }; + key { [ U1C54, dollar, U20B9 ] }; + key { [ U1C55, percent ] }; + key { [ U1C56, asciicircum ] }; + key { [ U1C57, ampersand ] }; + key { [ U1C58, asterisk ] }; + key { [ U1C59, parenleft ] }; + key { [ U1C50, parenright ] }; + key { [ minus, U1C7C ] }; + key { [ equal, plus ] }; + + key { [ U1C67 ] }; + key { [ U1C63 ] }; + key { [ U1C6E ] }; + key { [ U1C68 ] }; + key { [ U1C74, U1C5B ] }; + key { [ U1C6D ] }; + key { [ U1C69 ] }; + key { [ U1C64 ] }; + key { [ U1C5A, U1C73 ] }; + key { [ U1C6F ] }; + key { [ bracketleft, braceleft ] }; + key { [ bracketright, braceright ] }; + key { [ U1C7F, U1C7E ] }; + + key { [ U1C5F ] }; + key { [ U1C65 ] }; + key { [ U1C70, U1C6B ] }; + key { [ U1C5D ] }; + key { [ U1C5C ] }; + key { [ U1C66, U1C77 ] }; + key { [ U1C61 ] }; + key { [ U1C60 ] }; + key { [ U1C5E ] }; + key { [ semicolon, U1C7A ] }; + key { [ apostrophe, quotedbl ] }; + + key { [ U1C72 ] }; + key { [ U1C7D ] }; + key { [ U1C6A ] }; + key { [ U1C76 ] }; + key { [ U1C75 ] }; + key { [ U1C71, U1C78 ] }; + key { [ U1C62, U1C6C ] }; + key { [ comma, less ] }; + key { [ U1C79, greater ] }; + key { [ slash, question ] }; + + key { + symbols[Group1] = [ Mode_switch, Multi_key ], + virtualMods = AltGr + }; + + include "level3(ralt_switch)" +}; + + +partial alphanumeric_keys xkb_symbols "ori" { // Inscript layout for Oriya // Author: G Karunakar -- 2.4.6