mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-12-27 08:28:52 +01:00
Add ukrainian layout (#172)
This commit is contained in:
parent
1ddd089166
commit
1d406e948f
@ -18,6 +18,7 @@
|
|||||||
<item>dvorak</item>
|
<item>dvorak</item>
|
||||||
<item>colemak</item>
|
<item>colemak</item>
|
||||||
<item>neo2</item>
|
<item>neo2</item>
|
||||||
|
<item>jcuken_ua</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
<string-array name="pref_layout_entries">
|
<string-array name="pref_layout_entries">
|
||||||
<item>@string/pref_layout_e_system</item>
|
<item>@string/pref_layout_e_system</item>
|
||||||
@ -37,6 +38,7 @@
|
|||||||
<item>Dvorak</item>
|
<item>Dvorak</item>
|
||||||
<item>Colemak</item>
|
<item>Colemak</item>
|
||||||
<item>Neo 2</item>
|
<item>Neo 2</item>
|
||||||
|
<item>ЙЦУКЕН (Українська)</item>
|
||||||
</string-array>
|
</string-array>
|
||||||
<string-array name="pref_programming_layout_values">
|
<string-array name="pref_programming_layout_values">
|
||||||
<item>none</item>
|
<item>none</item>
|
||||||
|
42
res/xml/jcuken_ua.xml
Normal file
42
res/xml/jcuken_ua.xml
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<keyboard>
|
||||||
|
<row>
|
||||||
|
<key shift="0.1 " key0="й" key2="1" key4="esc"/>
|
||||||
|
<key key0="ц" key1="~" key2="2" key3="\@"/>
|
||||||
|
<key key0="у" key1="!" key2="3" key3="\#" key4="loc €"/>
|
||||||
|
<key key0="к" key2="4" key3="$"/>
|
||||||
|
<key key0="е" key2="5" key3="%"/>
|
||||||
|
<key key0="н" key2="6" key3="^"/>
|
||||||
|
<key key0="г" key1="ґ" key2="7" key3="&"/>
|
||||||
|
<key key0="ш" key2="8" key3="*"/>
|
||||||
|
<key key0="щ" key2="9" key3="(" key4=")"/>
|
||||||
|
<key key0="з" key2="0" key3="f11_placeholder" key4="f12_placeholder"/>
|
||||||
|
<key key0="х"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<key shift="0.1" key0="ф" key1="tab" key2="`"/>
|
||||||
|
<key key0="і" key2="ї"/>
|
||||||
|
<key key0="в" />
|
||||||
|
<key key0="а" />
|
||||||
|
<key key0="п" />
|
||||||
|
<key key0="р" />
|
||||||
|
<key key0="о" key2="-" key3="_"/>
|
||||||
|
<key key0="л" key2="=" key3="+"/>
|
||||||
|
<key key0="д" key4="}" key3="{"/>
|
||||||
|
<key key0="ж" key3="[" key4="]"/>
|
||||||
|
<key key0="є" key2="|" key3="\\"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<key width="1.1" key0="shift"/>
|
||||||
|
<key key0="я"/>
|
||||||
|
<key key0="ч" />
|
||||||
|
<key key0="с" />
|
||||||
|
<key key0="м" key2="<" key3="."/>
|
||||||
|
<key key0="и" key2=">" key3=","/>
|
||||||
|
<key key0="т" key2="\?" key3="/"/>
|
||||||
|
<key key0="ь" key2=":" key3=";"/>
|
||||||
|
<key key0="б" key2=""" key3="'"/>
|
||||||
|
<key key0="ю" key1="«" key2="»"/>
|
||||||
|
<key width="1.1" key0="backspace" key2="delete"/>
|
||||||
|
</row>
|
||||||
|
</keyboard>
|
@ -16,4 +16,5 @@
|
|||||||
<subtype android:label="%s" android:languageTag="ru" android:imeSubtypeLocale="ru_RU" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=ru_jcuken"/>
|
<subtype android:label="%s" android:languageTag="ru" android:imeSubtypeLocale="ru_RU" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=ru_jcuken"/>
|
||||||
<subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_sv_se,extra_keys=accent_aigu|accent_trema|accent_ring|€"/>
|
<subtype android:label="%s" android:languageTag="sv" android:imeSubtypeLocale="sv_SE" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_sv_se,extra_keys=accent_aigu|accent_trema|accent_ring|€"/>
|
||||||
<subtype android:label="%s" android:languageTag="tr" android:imeSubtypeLocale="tr_TR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_tr,extra_keys=accent_cedille|accent_trema|₺|ı|ğ"/>
|
<subtype android:label="%s" android:languageTag="tr" android:imeSubtypeLocale="tr_TR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_tr,extra_keys=accent_cedille|accent_trema|₺|ı|ğ"/>
|
||||||
|
<subtype android:label="%s" android:languageTag="uk" android:imeSubtypeLocale="uk_UA" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=jcuken_ua"/>
|
||||||
</input-method>
|
</input-method>
|
||||||
|
@ -253,6 +253,7 @@ final class Config
|
|||||||
case "qwertz_hu": return R.xml.qwertz_hu;
|
case "qwertz_hu": return R.xml.qwertz_hu;
|
||||||
case "qwertz": return R.xml.qwertz;
|
case "qwertz": return R.xml.qwertz;
|
||||||
case "ru_jcuken": return R.xml.local_ru_jcuken;
|
case "ru_jcuken": return R.xml.local_ru_jcuken;
|
||||||
|
case "jcuken_ua": return R.xml.jcuken_ua;
|
||||||
default: return R.xml.qwerty; // The config might store an invalid layout, don't crash
|
default: return R.xml.qwerty; // The config might store an invalid layout, don't crash
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user