abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorJules Aguillon2024-12-14 12:09:23 +0100
committerJules Aguillon2024-12-17 00:39:34 +0100
commitd73b9d638e9cd0026cdf11c4f1105f0533cec383 (patch)
tree01b2f461a8e11664b28035757e9c637482bda8c2
parentf9c92007db136eefd407198054500cc10ee3cc4b (diff)
downloadunexpected-keyboard-d73b9d638e9cd0026cdf11c4f1105f0533cec383.tar.gz
unexpected-keyboard-d73b9d638e9cd0026cdf11c4f1105f0533cec383.zip
Add the WORKMAN (US) layout
Co-authored-by: goyalyashpal <yashpalgoyal1304@gmail.com>
-rw-r--r--check_layout.output2
-rw-r--r--res/values/layouts.xml3
-rw-r--r--srcs/layouts/latn_workman_us.xml38
3 files changed, 43 insertions, 0 deletions
diff --git a/check_layout.output b/check_layout.output
index a4ee235..1d4b079 100644
--- a/check_layout.output
+++ b/check_layout.output
@@ -167,6 +167,8 @@ Layout includes some ASCII punctuation but not all, missing: `
1 warnings
# latn_qwertz_sq
0 warnings
+# latn_workman_us
+0 warnings
# shaw_imperial_en
0 warnings
# urdu_phonetic_ur
diff --git a/res/values/layouts.xml b/res/values/layouts.xml
index cf97915..579081e 100644
--- a/res/values/layouts.xml
+++ b/res/values/layouts.xml
@@ -69,6 +69,7 @@
<item>latn_qwertz_hu</item>
<item>latn_qwertz_sk</item>
<item>latn_qwertz_sq</item>
+ <item>latn_workman_us</item>
<item>shaw_imperial_en</item>
<item>urdu_phonetic_ur</item>
<item>custom</item>
@@ -141,6 +142,7 @@
<item>QWERTZ (Magyar)</item>
<item>QWERTZ (Slovak)</item>
<item>QWERTZ (Albanian)</item>
+ <item>WORKMAN (US)</item>
<item>Shaw Imperial</item>
<item>Urdu Phonetic</item>
<item>@string/pref_layout_e_custom</item>
@@ -213,6 +215,7 @@
<item>@xml/latn_qwertz_hu</item>
<item>@xml/latn_qwertz_sk</item>
<item>@xml/latn_qwertz_sq</item>
+ <item>@xml/latn_workman_us</item>
<item>@xml/shaw_imperial_en</item>
<item>@xml/urdu_phonetic_ur</item>
<item>-1</item>
diff --git a/srcs/layouts/latn_workman_us.xml b/srcs/layouts/latn_workman_us.xml
new file mode 100644
index 0000000..8583c07
--- /dev/null
+++ b/srcs/layouts/latn_workman_us.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<keyboard name="WORKMAN (US)" script="latin">
+ <row>
+ <key key0="q" key2="1" key4="loc esc"/>
+ <key key0="d" key1="~" key2="2" key3="\@"/>
+ <key key0="r" key1="!" key2="3" key3="\#" key4="loc €"/>
+ <key key0="w" key2="4" key3="$"/>
+ <key key0="b" key2="5" key3="%"/>
+ <key key0="j" key2="6" key3="^"/>
+ <key key0="f" key2="7" key3="&amp;"/>
+ <key key0="u" key2="8" key3="*"/>
+ <key key0="p" key2="9" key3="(" key4=")"/>
+ <key key0=";" key2="0" key3="|"/>
+ </row>
+ <row>
+ <key key0="a" key1="loc tab" key2="`" shift="0"/>
+ <key key0="s" key2="loc §" key3="loc ß"/>
+ <key key0="h"/>
+ <key key0="t"/>
+ <key key0="g"/>
+ <key key0="y" key2="-" key3="_"/>
+ <key key0="n" key2="=" key3="+"/>
+ <key key0="e" key4="}" key3="{"/>
+ <key key0="o" key3="[" key4="]"/>
+ <key key0="i" key3="\\"/>
+ </row>
+ <row>
+ <key width="1.5" key0="shift" key2="loc capslock"/>
+ <key key0="z"/>
+ <key key0="x" key2="loc †"/>
+ <key key0="m" key2="&lt;" key3="."/>
+ <key key0="c" key2="&gt;" key3=","/>
+ <key key0="v" key2="\?" key3="/"/>
+ <key key0="k" key2=":"/>
+ <key key0="l" key2="&quot;" key3="'"/>
+ <key width="1.5" key0="backspace" key2="delete"/>
+ </row>
+</keyboard>