Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Belgian layout #780

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion res/values/layouts.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<item>hang_dubeolsik_kr</item>
<item>hebr_1_il</item>
<item>hebr_2_il</item>
<item>latn_azerty_be</item>
<item>latn_azerty_fr</item>
<item>latn_bepo_fr</item>
<item>latn_bone</item>
Expand Down Expand Up @@ -85,6 +86,7 @@
<item>두벌식 (Korean)</item>
<item>Hebrew 1</item>
<item>Hebrew 2</item>
<item>AZERTY (Belgian)</item>
<item>AZERTY (Français)</item>
<item>BEPO (Français)</item>
<item>Bone</item>
Expand Down Expand Up @@ -143,6 +145,7 @@
<item>@xml/hang_dubeolsik_kr</item>
<item>@xml/hebr_1_il</item>
<item>@xml/hebr_2_il</item>
<item>@xml/latn_azerty_be</item>
<item>@xml/latn_azerty_fr</item>
<item>@xml/latn_bepo_fr</item>
<item>@xml/latn_bone</item>
Expand Down Expand Up @@ -175,4 +178,4 @@
<item>@xml/urdu_phonetic_ur</item>
<item>-1</item>
</integer-array>
</resources>
</resources>
38 changes: 38 additions & 0 deletions srcs/layouts/latn_azerty_be.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Adapted from Belgian AZERTY -->
<keyboard name="AZERTY (Belgian)" script="latin">
<row>
<key key0="a" key2="1" key4="loc esc"/>
<key key0="z" key1="|" key2="2" key3="&amp;" key4="\@"/>
<key key0="e" key2="3" key3="&quot;" 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" key3="{" key4="}"/>
<key key0="i" key2="8" key3="!" key4="ç"/>
<key key0="o" key1="loc accent_ogonek" key2="9" key3="à" key4="loc accent_cedille"/>
<key key0="p" key2="0" key3="-" key1="_"/>
</row>
<row>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~ is missing on the keyboard. It's useful to type with the compose key and might be used in passwords.
accent_tilde is not a substitute because it doesn't work with the compose key.

<key key0="q" key2="loc tab"/>
<key key0="s" key2="ß"/>
<key key0="d" key2="é"/>
<key key0="f"/>
<key key0="g"/>
<key key0="h" key1="[" key2="]"/>
<key key0="j" key1="è" key2="accent_trema" key3="accent_circonflexe"/>
<key key0="k" key1="€" key2="*" key3="$"/>
<key key0="l" key1="loc accent_caron" key2="%" key3="ù" key4="accent_aigu"/>
<key key0="m" key1="loc accent_breve" key2="£" key3="µ" key4="accent_grave"/>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The keyboard contains àèù, is accent_grave useful ? For occasionally writing other accented letters, isn't the compose key enough ?
It's also possible to make this key appear only if the user has a language that needs it installed on their device.

Same for accent_aigu and accent_cedille, éç are already on the keyboard.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

£ and accent_grave are very close to the edge of the screen and might be hard to type. What do you think of moving more of the side characters to the right ?

</row>
<row>
<key width="2.0" key0="shift" key2="loc capslock"/>
<key key0="w" key1="\\" key2="`" key3="&lt;" key4="&gt;"/>
<key key0="x" key1="loc †"/>
<key key0="c" key2="\?" key3=","/>
<key key0="v" key2="." key3=";"/>
<key key0="b" key2="/" key3=":"/>
<key key0="n" key1="loc accent_ring" key2="+" key3="=" key4="accent_tilde"/>
<key width="2.0" key0="backspace" key2="delete"/>
</row>
</keyboard>
Loading