mirror of
https://github.com/Julow/Unexpected-Keyboard.git
synced 2024-12-01 19:53:14 +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.
45 lines
1.7 KiB
XML
45 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<keyboard name="Arabic PC" script="arabic">
|
||
<row>
|
||
<key key0="ض" key1="َ" key2="١" key3="`" key4="esc"/>
|
||
<key key0="ص" key1="ً" key2="٢" key3="\@"/>
|
||
<key key0="ث" key1="ُ" key2="٣" key3="\#" key4="loc €"/>
|
||
<key key0="ق" key1="ٌ" key2="٤" key3="$" key4="loc £"/>
|
||
<key key0="ف" key1="لإ" key2="٥" key3="%"/>
|
||
<key key0="غ" key1="إ" key2="٦" key3="^"/>
|
||
<key key0="ع" key1="‘" key2="٧" key3="&"/>
|
||
<key key0="ه" key1="÷" key2="٨" key3="*"/>
|
||
<key key0="خ" key1="×" key2="٩" key3="("/>
|
||
<key key0="ح" key1="؛" key2="٠" key3=")"/>
|
||
<key key0="ج" key1=">" key2="-" key3="_"/>
|
||
<key key0="د" key1="<" key2="=" key3="ذ"/>
|
||
<!-- <key key0="ذ" key1="ّ" key3="\\" key4="|"/> -->
|
||
</row>
|
||
<row>
|
||
<key shift="0.5" key0="ش" key1="ِ" key4="tab"/>
|
||
<key key0="س" key1="ٍ"/>
|
||
<key key0="ي" key1="["/>
|
||
<key key0="ب" key1="]"/>
|
||
<key key0="ل" key1="لأ"/>
|
||
<key key0="ا" key1="أ"/>
|
||
<key key0="ت" key1="ـ"/>
|
||
<key key0="ن" key1="،"/>
|
||
<key key0="م" key1="/"/>
|
||
<key key0="ك" key1=":"/>
|
||
<key key0="ط" key1="""/>
|
||
</row>
|
||
<row>
|
||
<key shift="0.5" key0="ئ" key1="~"/>
|
||
<key key0="ء" key1="ْ"/>
|
||
<key key0="ؤ" key1="{"/>
|
||
<key key0="ر" key1="}"/>
|
||
<key key0="لا" key1="لآ"/>
|
||
<key key0="ى" key1="آ"/>
|
||
<key key0="ة" key1="’"/>
|
||
<key key0="و" key1=","/>
|
||
<key key0="ز" key1="."/>
|
||
<key key0="ظ" key1="؟"/>
|
||
<key width="1.5" key0="backspace" key2="delete"/>
|
||
</row>
|
||
</keyboard>
|