abouttreesummaryrefslogcommitdiff
path: root/srcs/layouts/latn_colemak.xml
diff options
context:
space:
mode:
authorJules Aguillon2024-01-21 16:34:49 +0100
committerJules Aguillon2024-01-21 16:34:49 +0100
commitad7314a01684185f5cf33cc31ef35d1027776a88 (patch)
tree189c2f9c8e085335689dfe30cb907cea5ba5c08e /srcs/layouts/latn_colemak.xml
parentbef29da3dee4aadc1f2c199cea846502e14aca5b (diff)
downloadunexpected-keyboard-ad7314a01684185f5cf33cc31ef35d1027776a88.tar.gz
unexpected-keyboard-ad7314a01684185f5cf33cc31ef35d1027776a88.zip
Move layout definitions into srcs/layouts
This separates the layout definitions from the special layouts (bottom_row, greekmath) and other unrelated files (method, settings). This is also a more intuitive location for layouts and make the resource directory easier to navigate. Under the hood, layouts are copied back into build/generated-resources/xml.
Diffstat (limited to 'srcs/layouts/latn_colemak.xml')
-rw-r--r--srcs/layouts/latn_colemak.xml41
1 files changed, 41 insertions, 0 deletions
diff --git a/srcs/layouts/latn_colemak.xml b/srcs/layouts/latn_colemak.xml
new file mode 100644
index 0000000..1a73fbb
--- /dev/null
+++ b/srcs/layouts/latn_colemak.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- https://colemak.com/ -->
+<keyboard name="Colemak" script="latin">
+ <row>
+ <key key0="q" key1="esc" key2="loc accent_aigu" key3="loc accent_tilde" shift="0.5"/>
+ <key key0="w" key1="loc accent_grave" key2=" ́" key3="~" />
+ <key key0="f" key1="`" key2="-" key3="+" />
+ <key key0="p" key2="=" key3="%"/>
+ <key key0="g" key1="!" key2="/" key3="\\"/>
+ <key key0="j" key1="loc accent_caron" key2="loc accent_trema" />
+ <key key0="l" key1="f11_placeholder" key2="f12_placeholder"/>
+ <key key0="u" key1="loc accent_double_aigu" key2="loc accent_ring" />
+ <key key0="y" key1="&quot;" key2="'"/>
+
+ </row>
+ <row>
+ <key key0="a" key2="1" key4="tab"/>
+ <key key0="r" key1="\@" key2="2" />
+ <key key0="s" key1="\#" key2="3" key4="loc ß"/>
+ <key key0="t" key1="$" key2="4" key4="loc accent_ogonek" />
+ <key key0="d" key1="€" key2="5" key4="loc accent_dot_above"/>
+ <key key0="h" key1="&amp;" key2="6" />
+ <key key0="n" key1="*" key2="7" />
+ <key key0="e" key1="loc accent_circonflexe" key2="8" key4="^"/>
+ <key key0="i" key1="_" key2="9" />
+ <key key0="o" key1="0" key3="loc accent_macron"/>
+
+ </row>
+ <row>
+ <key key0="shift" key2="loc capslock" width="1.5" />
+ <key key0="z" key1="," key2="."/>
+ <key key0="x" key1="&gt;" key2="&lt;"/>
+ <key key0="c" key1="{" key2="}" key3="loc accent_cedille"/>
+ <key key0="v" key1="[" key2="]"/>
+ <key key0="b" key1="(" key2=")"/>
+ <key key0="k" key1=";" key2=":"/>
+ <key key0="m" key1="|" key2="\?" />
+ <key key0="backspace" key1="delete" shift="0.25" width="1.25"/>
+
+ </row>
+</keyboard>