summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@telfort.nl>2023-04-25 17:15:22 +0200
committerBenno Schulenberg <bensberg@telfort.nl>2023-04-27 16:28:40 +0200
commitab5438560d7ba05be730e939a5f0c9dad35ef4f2 (patch)
tree9e328e08d578a94c0170a0861995989c1ea2b06c
parent52f836dbd01f16d0af78f15cc15db4227368204b (diff)
downloadxkeyboard-config-ab5438560d7ba05be730e939a5f0c9dad35ef4f2.tar.gz
move the Avestan layout from the Persian file to the Ancient file
-rw-r--r--rules/base.extras.xml34
-rw-r--r--rules/compat/variantsMapping.lst3
-rw-r--r--symbols/ancient57
-rw-r--r--symbols/ir66
4 files changed, 69 insertions, 91 deletions
diff --git a/rules/base.extras.xml b/rules/base.extras.xml
index f177588..eeec87b 100644
--- a/rules/base.extras.xml
+++ b/rules/base.extras.xml
@@ -11,6 +11,7 @@
<languageList>
<iso639Id>got</iso639Id>
<iso639Id>uga</iso639Id>
+ <iso639Id>ave</iso639Id>
</languageList>
</configItem>
<variantList>
@@ -32,6 +33,15 @@
</languageList>
</configItem>
</variant>
+ <variant>
+ <configItem popularity="exotic">
+ <name>ave</name>
+ <description>Avestan</description>
+ <languageList>
+ <iso639Id>ave</iso639Id>
+ </languageList>
+ </configItem>
+ </variant>
</variantList>
</layout>
<layout>
@@ -288,30 +298,6 @@
</layout>
<layout>
<configItem popularity="exotic">
- <name>ir</name>
- <shortDescription>fa</shortDescription>
- <description>Persian</description>
- <countryList>
- <iso3166Id>IR</iso3166Id>
- </countryList>
- <languageList>
- <iso639Id>fas</iso639Id>
- </languageList>
- </configItem>
- <variantList>
- <variant>
- <configItem popularity="exotic">
- <name>ave</name>
- <description>Avestan</description>
- <languageList>
- <iso639Id>ave</iso639Id>
- </languageList>
- </configItem>
- </variant>
- </variantList>
- </layout>
- <layout>
- <configItem popularity="exotic">
<name>lt</name>
<shortDescription>lt</shortDescription>
<description>Lithuanian</description>
diff --git a/rules/compat/variantsMapping.lst b/rules/compat/variantsMapping.lst
index e6a90a4..3d922f3 100644
--- a/rules/compat/variantsMapping.lst
+++ b/rules/compat/variantsMapping.lst
@@ -20,4 +20,5 @@ pk urd pk urd-phonetic
syr basic sy syc
syr phonetic sy syc_phonetic
tel basic in tel
-ara uga ancient uga
+ara uga ancient uga // Delete in 2028.
+ir ave ancient ave // Delete in 2028.
diff --git a/symbols/ancient b/symbols/ancient
index ea70827..a96058f 100644
--- a/symbols/ancient
+++ b/symbols/ancient
@@ -139,3 +139,60 @@ xkb_symbols "uga" {
key <AB09> {[ U10387, period ]}; // ๐Ž‡ .
key <AB10> {[ U10391, periodcentered ]}; // ๐Ž‘ ยท
};
+
+
+// Layout for Avestan, by Ernst Tremel, coded by Simos Xenitellis.
+// Reference: https://blog.simos.info/avestan-keyboard-layout/.
+// Generated with https://github.com/simos/keyboardlayouteditor.
+partial alphanumeric_keys
+xkb_symbols "ave"
+{
+ name[Group1] = "Avestan";
+
+ key <AE01> {[ U10B78 ]}; // ๐ญธ
+ key <AE02> {[ U10B79 ]}; // ๐ญน
+ key <AE03> {[ U10B7A ]}; // ๐ญบ
+ key <AE04> {[ U10B7B ]}; // ๐ญป
+ key <AE05> {[ U10B7C ]}; // ๐ญผ
+ key <AE06> {[ U10B7D ]}; // ๐ญฝ
+ key <AE07> {[ U10B7E ]}; // ๐ญพ
+ key <AE08> {[ U10B7F ]}; // ๐ญฟ
+
+ key <AD01> {[ U10B22, U10B23 ]}; // ๐ฌข ๐ฌฃ
+ key <AD02> {[ U10B33, U10B34 ]}; // ๐ฌณ ๐ฌด
+ key <AD03> {[ U10B08, U10B09 ]}; // ๐ฌˆ ๐ฌ‰
+ key <AD04> {[ U10B2D, U10B26 ]}; // ๐ฌญ ๐ฌฆ
+ key <AD05> {[ U10B19, U10B1A ]}; // ๐ฌ™ ๐ฌš
+ key <AD06> {[ U10B2B, U10B2A ]}; // ๐ฌซ ๐ฌช
+ key <AD07> {[ U10B0E, U10B0F ]}; // ๐ฌŽ ๐ฌ
+ key <AD08> {[ U10B0C, U10B0D ]}; // ๐ฌŒ ๐ฌ
+ key <AD09> {[ U10B0A, U10B0B ]}; // ๐ฌŠ ๐ฌ‹
+ key <AD10> {[ U10B1E ]}; // ๐ฌž
+ key <AD11> {[ U10B06, U10B07 ]}; // ๐ฌ† ๐ฌ‡
+ key <AD12> {[ U10B02, U10B03 ]}; // ๐ฌ‚ ๐ฌƒ
+
+ key <AC01> {[ U10B00, U10B01 ]}; // ๐ฌ€ ๐ฌ
+ key <AC02> {[ U10B2F, U10B31 ]}; // ๐ฌฏ ๐ฌฑ
+ key <AC03> {[ U10B1B, U10B1C ]}; // ๐ฌ› ๐ฌœ
+ key <AC04> {[ U10B1F, U10B16 ]}; // ๐ฌŸ ๐ฌ–
+ key <AC05> {[ U10B14, U10B15 ]}; // ๐ฌ” ๐ฌ•
+ key <AC06> {[ U10B35, UE100 ]}; // ๐ฌต ๎„€
+ key <AC07> {[ U10B18, U10B24 ]}; // ๐ฌ˜ ๐ฌค
+ key <AC08> {[ U10B10, UE101 ]}; // ๐ฌ ๎„
+ key <AC09> {[ U10B2E, UE103 ]}; // ๐ฌฎ ๎„ƒ
+ key <AC10> {[ U10B3B, U10B3A ]}; // ๐ฌป ๐ฌบ
+ key <AC11> {[ U10B1D ]}; // ๐ฌ
+ key <BKSL> {[ U10B04, U10B05 ]}; // ๐ฌ„ ๐ฌ…
+
+ key <LSGT> {[ U10B04, U10B05 ]}; // ๐ฌ„ ๐ฌ…
+ key <AB01> {[ U10B30, U10B32 ]}; // ๐ฌฐ ๐ฌฒ
+ key <AB02> {[ U10B11, U10B12 ]}; // ๐ฌ‘ ๐ฌ’
+ key <AB03> {[ U10B17, UE102 ]}; // ๐ฌ— ๎„‚
+ key <AB04> {[ U10B2C, U10B13 ]}; // ๐ฌฌ ๐ฌ“
+ key <AB05> {[ U10B20, U10B21 ]}; // ๐ฌ  ๐ฌก
+ key <AB06> {[ U10B25, U10B27 ]}; // ๐ฌฅ ๐ฌง
+ key <AB07> {[ U10B28, U10B29 ]}; // ๐ฌจ ๐ฌฉ
+ key <AB08> {[ U10B3C, U10B39 ]}; // ๐ฌผ ๐ฌน
+ key <AB09> {[ U10B3E, U10B3D ]}; // ๐ฌพ ๐ฌฝ
+ key <AB10> {[ U10B3F, periodcentered ]}; // ๐ฌฟ ยท
+};
diff --git a/symbols/ir b/symbols/ir
index 6aa7097..3591d2e 100644
--- a/symbols/ir
+++ b/symbols/ir
@@ -281,69 +281,3 @@ xkb_symbols "ku_ara" {
include "nbsp(zwnj2nb3)"
include "level3(ralt_switch)"
};
-
-// EXTRAS:
-
-/////////////////////////////////////////////////////////////////////////////////
-//
-// Generated keyboard layout file with the Keyboard Layout Editor.
-// For more about the software, see http://code.google.com/p/keyboardlayouteditor
-//
-// Version 0.2, fixed AD09.
-//
-// Layout by Ernst Tremel, http://ubuntuforums.org/showpost.php?p=9365469&postcount=32
-// Creation of this file by Simos Xenitellis.
-
-partial alphanumeric_keys
-xkb_symbols "ave"
-{
- name[Group1] = "Avestan";
-
- key <AB01> { [ U10B30, U10B32 ] }; // ๐ฌฐ ๐ฌฒ
- key <AB02> { [ U10B11, U10B12 ] }; // ๐ฌ‘ ๐ฌ’
- key <AB03> { [ U10B17, UE102 ] }; // ๐ฌ— ๎„‚
- key <AB04> { [ U10B2C, U10B13 ] }; // ๐ฌฌ ๐ฌ“
- key <AB05> { [ U10B20, U10B21 ] }; // ๐ฌ  ๐ฌก
- key <AB06> { [ U10B25, U10B27 ] }; // ๐ฌฅ ๐ฌง
- key <AB07> { [ U10B28, U10B29 ] }; // ๐ฌจ ๐ฌฉ
- key <AB08> { [ U10B3C, U10B39 ] }; // ๐ฌผ ๐ฌน
- key <AB09> { [ U10B3E, U10B3D ] }; // ๐ฌพ ๐ฌฝ
- key <AB10> { [ U10B3F, periodcentered ] }; // ๐ฌฟ ยท
-
- key <AC01> { [ U10B00, U10B01 ] }; // ๐ฌ€ ๐ฌ
- key <AC02> { [ U10B2F, U10B31 ] }; // ๐ฌฏ ๐ฌฑ
- key <AC03> { [ U10B1B, U10B1C ] }; // ๐ฌ› ๐ฌœ
- key <AC04> { [ U10B1F, U10B16 ] }; // ๐ฌŸ ๐ฌ–
- key <AC05> { [ U10B14, U10B15 ] }; // ๐ฌ” ๐ฌ•
- key <AC06> { [ U10B35, UE100 ] }; // ๐ฌต ๎„€
- key <AC07> { [ U10B18, U10B24 ] }; // ๐ฌ˜ ๐ฌค
- key <AC08> { [ U10B10, UE101 ] }; // ๐ฌ ๎„
- key <AC09> { [ U10B2E, UE103 ] }; // ๐ฌฎ ๎„ƒ
- key <AC10> { [ U10B3B, U10B3A ] }; // ๐ฌป ๐ฌบ
- key <AC11> { [ U10B1D ] }; // ๐ฌ
-
- key <AD01> { [ U10B22, U10B23 ] }; // ๐ฌข ๐ฌฃ
- key <AD02> { [ U10B33, U10B34 ] }; // ๐ฌณ ๐ฌด
- key <AD03> { [ U10B08, U10B09 ] }; // ๐ฌˆ ๐ฌ‰
- key <AD04> { [ U10B2D, U10B26 ] }; // ๐ฌญ ๐ฌฆ
- key <AD05> { [ U10B19, U10B1A ] }; // ๐ฌ™ ๐ฌš
- key <AD06> { [ U10B2B, U10B2A ] }; // ๐ฌซ ๐ฌช
- key <AD07> { [ U10B0E, U10B0F ] }; // ๐ฌŽ ๐ฌ
- key <AD08> { [ U10B0C, U10B0D ] }; // ๐ฌŒ ๐ฌ
- key <AD09> { [ U10B0A, U10B0B ] }; // ๐ฌŠ ๐ฌ‹
- key <AD10> { [ U10B1E ] }; // ๐ฌž
- key <AD11> { [ U10B06, U10B07 ] }; // ๐ฌ† ๐ฌ‡
- key <AD12> { [ U10B02, U10B03 ] }; // ๐ฌ‚ ๐ฌƒ
-
- key <AE01> { [ U10B78 ] }; // ๐ญธ
- key <AE02> { [ U10B79 ] }; // ๐ญน
- key <AE03> { [ U10B7A ] }; // ๐ญบ
- key <AE04> { [ U10B7B ] }; // ๐ญป
- key <AE05> { [ U10B7C ] }; // ๐ญผ
- key <AE06> { [ U10B7D ] }; // ๐ญฝ
- key <AE07> { [ U10B7E ] }; // ๐ญพ
- key <AE08> { [ U10B7F ] }; // ๐ญฟ
-
- key <BKSL> { [ U10B04, U10B05 ] }; // ๐ฌ„ ๐ฌ…
- key <LSGT> { [ U10B04, U10B05 ] }; // ๐ฌ„ ๐ฌ…
-};