abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorDimethylebutane2023-08-18 12:15:43 +0200
committerGitHub2023-08-18 12:15:43 +0200
commitc3a5dc63f2ece6095bb9a05b9588f06a0f49dc5e (patch)
tree319321dca01f71033f3a80af8e75c870b854093f
parent6cb6f2541be2fdda5b143df156c7bdd1f5e8417d (diff)
downloadunexpected-keyboard-c3a5dc63f2ece6095bb9a05b9588f06a0f49dc5e.tar.gz
unexpected-keyboard-c3a5dc63f2ece6095bb9a05b9588f06a0f49dc5e.zip
Added french bépo layout (adapted) (#402)
-rw-r--r--check_layout.output3
-rw-r--r--res/values/layouts.xml3
-rw-r--r--res/xml/latn_bepo_fr.xml40
3 files changed, 46 insertions, 0 deletions
diff --git a/check_layout.output b/check_layout.output
index a8edbe5..dc759c0 100644
--- a/check_layout.output
+++ b/check_layout.output
@@ -51,6 +51,9 @@ Layout includes some ASCII punctuation but not all, missing: (, ), <, >, [, ], {
1 warnings
# res/xml/latn_azerty_fr.xml
0 warnings
+# res/xml/latn_bepo_fr.xml
+Layout doesn't define some important keys, missing: f11_placeholder, f12_placeholder
+1 warnings
# res/xml/latn_bone.xml
Layout includes some ASCII punctuation but not all, missing: $
Layout redefines the bottom row but some important keys are missing, missing: switch_backward
diff --git a/res/values/layouts.xml b/res/values/layouts.xml
index 73ae0d0..080a36c 100644
--- a/res/values/layouts.xml
+++ b/res/values/layouts.xml
@@ -22,6 +22,7 @@
<item>hebr_1_il</item>
<item>hebr_2_il</item>
<item>latn_azerty_fr</item>
+ <item>latn_bepo_fr</item>
<item>latn_bone</item>
<item>latn_neo2</item>
<item>latn_qwerty_br</item>
@@ -64,6 +65,7 @@
<item>Hebrew 1</item>
<item>Hebrew 2</item>
<item>AZERTY (Français)</item>
+ <item>BEPO (Français)</item>
<item>Bone</item>
<item>Neo 2</item>
<item>QWERTY (Brasileiro)</item>
@@ -106,6 +108,7 @@
<item>@xml/hebr_1_il</item>
<item>@xml/hebr_2_il</item>
<item>@xml/latn_azerty_fr</item>
+ <item>@xml/latn_bepo_fr</item>
<item>@xml/latn_bone</item>
<item>@xml/latn_neo2</item>
<item>@xml/latn_qwerty_br</item>
diff --git a/res/xml/latn_bepo_fr.xml b/res/xml/latn_bepo_fr.xml
new file mode 100644
index 0000000..941c3ee
--- /dev/null
+++ b/res/xml/latn_bepo_fr.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Inspired by the bépo layout, but adapted to smartphone -->
+<keyboard name="BEPO (Français)" script="latin">
+ <row>
+ <key width="1.1" key0="b" key1="esc" key2="1" key4="|"/>
+ <key width="1.1" key0="é" key2="2" key4="è"/>
+ <key width="1.1" key0="p" key2="3"/>
+ <key width="1.1" key0="o" key2="4" key4="accent_circonflexe"/>
+ <key width="1.1" key0="v" key2="5" key4="{"/>
+ <key width="1.1" key0="d" key2="6" key4="}"/>
+ <key width="1.1" key0="l" key2="7" key4="("/>
+ <key width="1.1" key0="j" key2="8" key4=")"/>
+ <key width="1.1" key0="z" key2="9" key4="["/>
+ <key width="1.1" key0="w" key2="0" key4="]"/>
+ </row>
+ <row>
+ <key width="1.1" key0="a" key1="tab" key4="à"/>
+ <key width="1.1" key0="u" key1="$" key4="ù"/>
+ <key width="1.1" key0="i" key4="&amp;"/>
+ <key width="1.1" key0="e" key1="+" key2="accent_trema" key4="€"/>
+ <key width="1.1" key0="c" key1="=" key4="ç"/>
+ <key width="1.1" key0="t" key1="^" key4=";"/>
+ <key width="1.1" key0="s" key4="!"/>
+ <key width="1.1" key0="r" key4="\?"/>
+ <key width="1.1" key0="n" key1="`" key2="'" key4=":"/>
+ <key width="1.1" key0="m" key2="&quot;"/>
+ </row>
+ <row>
+ <key width="1.5" key0="shift" key2="capslock" key3="&lt;"/>
+ <key key0="y" key4="%"/>
+ <key key0="x" key4="\@"/>
+ <key key0="k" key4="~"/>
+ <key key0="." key1="\#" key4="," key6="-" key8="_"/>
+ <key key0="q" key4="*"/>
+ <key key0="g" key3="/" key4="\\"/>
+ <key key0="h"/>
+ <key key0="f"/>
+ <key width="1.5" key0="backspace" key2="delete" key3=">"/>
+ </row>
+</keyboard>