forked from extern/Unexpected-Keyboard
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.
40 lines
1.4 KiB
XML
40 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<keyboard name="QWERTZ (Slovak)" script="latin">
|
|
<row>
|
|
<key key0="q" key1="1" key4="esc"/>
|
|
<key key0="w" key1="2"/>
|
|
<key key0="e" key1="3" key3="é" key4="ě"/>
|
|
<key key0="r" key1="4" key3="ŕ" key4="ř"/>
|
|
<key key0="t" key1="5" key4="ť"/>
|
|
<key key0="z" key1="6" key4="ž"/>
|
|
<key key0="u" key1="7" key2="ü" key3="ú" key4="ů"/>
|
|
<key key0="i" key1="8" key3="í"/>
|
|
<key key0="o" key1="9" key2="ö" key3="ó" key4="ô"/>
|
|
<key key0="p" key1="0" key2="=" key3="\" key4="/"/>
|
|
</row>
|
|
<row>
|
|
<key key0="a" key1="tab" key3="á" key4="ä"/>
|
|
<key key0="s" key3="ś" key4="š"/>
|
|
<key key0="d" key4="ď"/>
|
|
<key key0="f" key1="%" key2="*"/>
|
|
<key key0="g" key2="^"/>
|
|
<key key0="h" key1="~" key2="÷"/>
|
|
<key key0="j" key1="{" key2="}" key3="|" key4="+"/>
|
|
<key key0="k" key1="[" key2="]" key3="'" key4="""/>
|
|
<key key0="l" key1="(" key2=")" key3="ĺ" key4="ľ"/>
|
|
<key key0="backspace" key3="delete"/>
|
|
</row>
|
|
<row>
|
|
<key key0="shift" key2="loc capslock"/>
|
|
<key key0="y" key1="$" key3="ý"/>
|
|
<key key0="x"/>
|
|
<key key0="c" key4="č"/>
|
|
<key key0="v" key4="\@"/>
|
|
<key key0="b" key1="\#" key2="&" key3="-" key4="_"/>
|
|
<key key0="n" key1="«" key2="»" key4="ň"/>
|
|
<key key0="m" key1="<" key2=">"/>
|
|
<key key0="," key1=":" key2="\?"/>
|
|
<key key0="." key1=";" key2="!"/>
|
|
</row>
|
|
</keyboard>
|