abouttreesummaryrefslogcommitdiff
path: root/res/xml/latn_colemak.xml
diff options
context:
space:
mode:
authorJules Aguillon2023-06-25 15:52:24 +0200
committerJules Aguillon2023-06-25 15:52:24 +0200
commit8ba82d2555342f6cf5e14d19c1d7bcadf46ab604 (patch)
tree71495d1ab9cacbeffe8f8cf6abc069765ba2a54d /res/xml/latn_colemak.xml
parentf36864533c33f8f1986db150987e354c59c7482b (diff)
downloadunexpected-keyboard-8ba82d2555342f6cf5e14d19c1d7bcadf46ab604.tar.gz
unexpected-keyboard-8ba82d2555342f6cf5e14d19c1d7bcadf46ab604.zip
Generate layouts arrays used in settings
`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.
Diffstat (limited to 'res/xml/latn_colemak.xml')
-rw-r--r--res/xml/latn_colemak.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/xml/latn_colemak.xml b/res/xml/latn_colemak.xml
index a7c78f2..1a73fbb 100644
--- a/res/xml/latn_colemak.xml
+++ b/res/xml/latn_colemak.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- https://colemak.com/ -->
-<keyboard script="latin">
+<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="~" />