forked from extern/Unexpected-Keyboard
Add support for Hungarian layout (#127)
This commit is contained in:
parent
04a7ec4bb8
commit
8cb1789eeb
@ -11,6 +11,7 @@
|
||||
<item>qwerty_sv_se</item>
|
||||
<item>ru_jcuken</item>
|
||||
<item>qwertz</item>
|
||||
<item>qwertz_hu</item>
|
||||
<item>bgph1</item>
|
||||
<item>dvorak</item>
|
||||
<item>neo2</item>
|
||||
@ -26,6 +27,7 @@
|
||||
<item>QWERTY (Swedish)</item>
|
||||
<item>ЙЦУКЕН (Русский)</item>
|
||||
<item>QWERTZ</item>
|
||||
<item>QWERTZ (Hungarian)</item>
|
||||
<item>Bulgarian (Phonetic Traditional)</item>
|
||||
<item>Dvorak</item>
|
||||
<item>Neo 2</item>
|
||||
|
@ -6,6 +6,7 @@
|
||||
<subtype android:label="%s" android:languageTag="en-US" android:imeSubtypeLocale="en_US" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty"/>
|
||||
<subtype android:label="%s" android:languageTag="es" android:imeSubtypeLocale="es_ES" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_es,extra_keys=accent_grave|accent_aigu|accent_tilde|accent_trema|€"/>
|
||||
<subtype android:label="%s" android:languageTag="fr" android:imeSubtypeLocale="fr_FR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=azerty,extra_keys=accent_grave|accent_aigu|accent_circonflexe|accent_cedille|accent_trema|€"/>
|
||||
<subtype android:label="%s" android:languageTag="hu" android:imeSubtypeLocale="hu_HU" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwertz_hu,extra_keys=accent_aigu|accent_trema|accent_ogonek|€"/>
|
||||
<subtype android:label="%s" android:languageTag="it" android:imeSubtypeLocale="it_IT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=accent_grave|accent_aigu|€"/>
|
||||
<subtype android:label="%s" android:languageTag="ko" android:imeSubtypeLocale="ko_KR" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty_ko"/>
|
||||
<subtype android:label="%s" android:languageTag="lt" android:imeSubtypeLocale="lt_LT" android:imeSubtypeMode="keyboard" android:isAsciiCapable="true" android:imeSubtypeExtraValue="default_layout=qwerty,extra_keys=accent_ogonek|accent_caron|accent_dot_above|accent_macron|€"/>
|
||||
|
37
res/xml/qwertz_hu.xml
Normal file
37
res/xml/qwertz_hu.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<keyboard>
|
||||
<row>
|
||||
<key key0="q" key2="0" key4="esc"/>
|
||||
<key key0="w" key1="'" key2="1" key4="|"/>
|
||||
<key key0="e" key1=""" key2="2" key4="é"/>
|
||||
<key key0="r" key2="3" key4="^"/>
|
||||
<key key0="t" key1="!" key2="4" key4="f11_placeholder"/>
|
||||
<key key0="z" key1="%" key2="5" key3="°" key4="f12_placeholder"/>
|
||||
<key key0="u" key1="ű" key2="6" key3="ü" key4="ú"/>
|
||||
<key key0="i" key1="=" key2="7" key3="`" key4="í"/>
|
||||
<key key0="o" key1="ő" key2="8" key3="ö" key4="ó"/>
|
||||
<key key0="p" key1="9"/>
|
||||
</row>
|
||||
<row>
|
||||
<key shift="0.5" key0="a" key1="tab" key4="á"/>
|
||||
<key key0="s" key1="§" key2="\\" key3="[" key4="]"/>
|
||||
<key key0="d" key3="{" key4="}"/>
|
||||
<key key0="f" key3="+"/>
|
||||
<key key0="g" key3="*"/>
|
||||
<key key0="h"/>
|
||||
<key key0="j"/>
|
||||
<key key0="k" key3="(" key4=")"/>
|
||||
<key key0="l" key3="/"/>
|
||||
</row>
|
||||
<row>
|
||||
<key width="1.5" key0="shift"/>
|
||||
<key key0="y" key3="<" key4=">"/>
|
||||
<key key0="x" key4="\#"/>
|
||||
<key key0="c" key4="&"/>
|
||||
<key key0="v" key4="\@"/>
|
||||
<key key0="b" key1="\?" key3="," key4=";"/>
|
||||
<key key0="n" key1=":" key3="."/>
|
||||
<key key0="m" key1="_" key3="-"/>
|
||||
<key width="1.5" key0="backspace" key2="delete"/>
|
||||
</row>
|
||||
</keyboard>
|
@ -226,6 +226,7 @@ final class Config
|
||||
case "qwerty": return R.xml.qwerty;
|
||||
case "qwerty_sv_se": return R.xml.qwerty_sv_se;
|
||||
case "qwertz": return R.xml.qwertz;
|
||||
case "qwertz_hu": return R.xml.qwertz_hu;
|
||||
case "ru_jcuken": return R.xml.local_ru_jcuken;
|
||||
case "neo2": return R.xml.neo2;
|
||||
default: return R.xml.qwerty; // The config might store an invalid layout, don't crash
|
||||
|
Loading…
Reference in New Issue
Block a user