mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-11-22 23:33:11 +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.
42 lines
2.0 KiB
XML
42 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- https://colemak.com/ -->
|
|
<keyboard name="Colemak" script="latin">
|
|
<row>
|
|
<key key0="q" key1="esc" key2="loc accent_aigu" key3="loc accent_tilde" shift="0.5"/>
|
|
<key key0="w" key1="loc accent_grave" key2=" ́" key3="~" />
|
|
<key key0="f" key1="`" key2="-" key3="+" />
|
|
<key key0="p" key2="=" key3="%"/>
|
|
<key key0="g" key1="!" key2="/" key3="\\"/>
|
|
<key key0="j" key1="loc accent_caron" key2="loc accent_trema" />
|
|
<key key0="l" key1="f11_placeholder" key2="f12_placeholder"/>
|
|
<key key0="u" key1="loc accent_double_aigu" key2="loc accent_ring" />
|
|
<key key0="y" key1=""" key2="'"/>
|
|
|
|
</row>
|
|
<row>
|
|
<key key0="a" key2="1" key4="tab"/>
|
|
<key key0="r" key1="\@" key2="2" />
|
|
<key key0="s" key1="\#" key2="3" key4="loc ß"/>
|
|
<key key0="t" key1="$" key2="4" key4="loc accent_ogonek" />
|
|
<key key0="d" key1="€" key2="5" key4="loc accent_dot_above"/>
|
|
<key key0="h" key1="&" key2="6" />
|
|
<key key0="n" key1="*" key2="7" />
|
|
<key key0="e" key1="loc accent_circonflexe" key2="8" key4="^"/>
|
|
<key key0="i" key1="_" key2="9" />
|
|
<key key0="o" key1="0" key3="loc accent_macron"/>
|
|
|
|
</row>
|
|
<row>
|
|
<key key0="shift" key2="loc capslock" width="1.5" />
|
|
<key key0="z" key1="," key2="."/>
|
|
<key key0="x" key1=">" key2="<"/>
|
|
<key key0="c" key1="{" key2="}" key3="loc accent_cedille"/>
|
|
<key key0="v" key1="[" key2="]"/>
|
|
<key key0="b" key1="(" key2=")"/>
|
|
<key key0="k" key1=";" key2=":"/>
|
|
<key key0="m" key1="|" key2="\?" />
|
|
<key key0="backspace" key1="delete" shift="0.25" width="1.25"/>
|
|
|
|
</row>
|
|
</keyboard>
|