forked from extern/Unexpected-Keyboard
Added neo 2 layout (#125)
* Added neo 2 layout * Move accents away from screen edge into second row
This commit is contained in:
parent
2900e8d197
commit
e52e537fd7
@ -13,6 +13,7 @@
|
|||||||
<item>qwertz</item>
|
<item>qwertz</item>
|
||||||
<item>bgph1</item>
|
<item>bgph1</item>
|
||||||
<item>dvorak</item>
|
<item>dvorak</item>
|
||||||
|
<item>neo2</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>
|
||||||
@ -27,6 +28,7 @@
|
|||||||
<item>QWERTZ</item>
|
<item>QWERTZ</item>
|
||||||
<item>Bulgarian (Phonetic Traditional)</item>
|
<item>Bulgarian (Phonetic Traditional)</item>
|
||||||
<item>Dvorak</item>
|
<item>Dvorak</item>
|
||||||
|
<item>Neo 2</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>
|
||||||
|
49
res/xml/neo2.xml
Normal file
49
res/xml/neo2.xml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<keyboard bottom_row="false">
|
||||||
|
<row>
|
||||||
|
<key key0="x" key1="°" key2="1" key4="…"/>
|
||||||
|
<key key0="v" key1="§" key2="2" key4="_"/>
|
||||||
|
<key key0="l" key2="3" key4="["/>
|
||||||
|
<key key0="c" key2="4" key4="]"/>
|
||||||
|
<key key0="w" key2="5" key4="^"/>
|
||||||
|
<key key0="k" key2="6" key4="!"/>
|
||||||
|
<key key0="h" key2="7" key4="<"/>
|
||||||
|
<key key0="g" key2="8" key4=">"/>
|
||||||
|
<key key0="f" key2="9" key3="f11_placeholder" key4="="/>
|
||||||
|
<key key0="q" key2="0" key3="f12_placeholder" key4="&"/>
|
||||||
|
<key key0="ß" key1="-"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<key key0="u" key1="tab" key2="accent_circonflexe" key4="\\"/>
|
||||||
|
<key key0="i" key2="accent_caron" key4="/"/>
|
||||||
|
<key key0="a" key2="accent_dot_above" key4="{"/>
|
||||||
|
<key key0="e" key2="accent_macron" key4="}"/>
|
||||||
|
<key key0="o" key2="accent_trema" key4="*"/>
|
||||||
|
<key key0="s" key2="accent_tilde" key4="\?"/>
|
||||||
|
<key key0="n" key2="accent_cedille" key4="("/>
|
||||||
|
<key key0="r" key2="accent_grave" key4=")"/>
|
||||||
|
<key key0="t" key2="accent_aigu" key4="-"/>
|
||||||
|
<key key0="d" key2="accent_ring" key4=":"/>
|
||||||
|
<key key0="y" key2="accent_double_aigu" key3="\@"/>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<key width="1.5" key0="shift" key1="esc"/>
|
||||||
|
<key key0="ü" key4="\#"/>
|
||||||
|
<key key0="ö" key4="$"/>
|
||||||
|
<key key0="ä" key4="|"/>
|
||||||
|
<key key0="p" key4="~"/>
|
||||||
|
<key key0="z" key4="`"/>
|
||||||
|
<key key0="b" key4="+"/>
|
||||||
|
<key key0="m" key4="%"/>
|
||||||
|
<key key0="." key1="," key3=""" key4="'"/>
|
||||||
|
<key width="1.5" key0="backspace" key2="delete"/>
|
||||||
|
</row>
|
||||||
|
<row height="0.95">
|
||||||
|
<key width="1.8" key0="ctrl" key2="meta" key4="switch_numeric"/>
|
||||||
|
<key width="1.2" key0="fn" key1="alt" key2="change_method" key3="switch_emoji" key4="config"/>
|
||||||
|
<key width="4.0" key0="space" key1="switch_programming" edgekeys="true"/>
|
||||||
|
<key width="1.2" key1="up" key2="right" key3="left" key4="down" edgekeys="true"/>
|
||||||
|
<key key0="j" key4=";"/>
|
||||||
|
<key width="1.8" key0="enter" key2="action"/>
|
||||||
|
</row>
|
||||||
|
</keyboard>
|
@ -227,6 +227,7 @@ final class Config
|
|||||||
case "qwerty_sv_se": return R.xml.qwerty_sv_se;
|
case "qwerty_sv_se": return R.xml.qwerty_sv_se;
|
||||||
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 "neo2": return R.xml.neo2;
|
||||||
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