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