mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-27 01:33:15 +01:00
8ba82d2555
`gen_layouts.py` lists the layouts in `res/xml` and generate the `pref_layout_values` and `pref_layout_entries` arrays into `res/values/layouts.xml`. These arrays are hard to maintain as the order has to match, which is fragile. This relies on every layouts having a `name` attribute.
43 lines
1.6 KiB
XML
43 lines
1.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<keyboard name="ЙЦУКЕН (Русский)" script="cyrillic">
|
||
<row>
|
||
<key key0="й" key2="1" key4="esc"/>
|
||
<key key0="ц" key1="loc ї" key2="2" key3="\@" key4="~"/>
|
||
<key key0="у" key1="loc ў" key2="3" key3="\#" key4="!"/>
|
||
<key key0="к" key2="4" key3="$"/>
|
||
<key key0="е" key1="ё" key2="5" key3="%"/>
|
||
<key key0="н" key1="loc є" key2="6" key3="^"/>
|
||
<key key0="г" key1="loc ґ" key2="7" key3="&"/>
|
||
<key key0="ш" key2="8" key3="*"/>
|
||
<key key0="щ" key2="9" key3="(" key4=")"/>
|
||
<key key0="з" key2="0" key3="{" key4="}"/>
|
||
<key key0="х" key3="[" key4="]" key1="f11_placeholder" key2="f12_placeholder"/>
|
||
</row>
|
||
<row>
|
||
<key key0="ф" key1="tab" key2="`"/>
|
||
<key key0="ы"/>
|
||
<key key0="в"/>
|
||
<key key0="а"/>
|
||
<key key0="п"/>
|
||
<key key0="р"/>
|
||
<key key0="о"/>
|
||
<key key0="л"/>
|
||
<key key0="д" key2="-" key3="_"/>
|
||
<key key0="ж" key2="=" key3="+"/>
|
||
<key key0="э" key2="|" key3="\\"/>
|
||
</row>
|
||
<row>
|
||
<key width="1.18" key0="shift" key2="loc capslock"/>
|
||
<key width="0.96" key0="я"/>
|
||
<key width="0.96" key0="ч"/>
|
||
<key width="0.96" key0="с"/>
|
||
<key width="0.96" key0="м"/>
|
||
<key width="0.96" key0="и" key1="loc і" key2="<" key3="."/>
|
||
<key width="0.96" key0="т" key2=">" key3=","/>
|
||
<key width="0.96" key0="ь" key1="ъ" key2="\?" key3="/"/>
|
||
<key width="0.96" key0="б" key2=":" key3=";"/>
|
||
<key width="0.96" key0="ю" key2=""" key3="'"/>
|
||
<key width="1.18" key0="backspace" key2="delete"/>
|
||
</row>
|
||
</keyboard>
|