abouttreesummaryrefslogcommitdiff
path: root/res
diff options
context:
space:
mode:
authorJules Aguillon2022-10-16 01:07:24 +0200
committerJules Aguillon2022-10-16 01:07:24 +0200
commit75df3afda64e6c533bec537b6f36d1dba55a93d6 (patch)
tree15b7dcc6b333ba560eaa9c710297098ee3539c80 /res
parent7fb5c992b6235d350cbd45962d1e51c5a044d019 (diff)
downloadunexpected-keyboard-75df3afda64e6c533bec537b6f36d1dba55a93d6.tar.gz
unexpected-keyboard-75df3afda64e6c533bec537b6f36d1dba55a93d6.zip
Allow to disable Alt and Meta keys
The keys are marked "loc" in the layouts and are handled like the other extra keys. The only difference is that they are enabled by default (for now).
Diffstat (limited to 'res')
-rw-r--r--res/xml/bone.xml4
-rw-r--r--res/xml/bottom_row.xml4
-rw-r--r--res/xml/neo2.xml4
-rw-r--r--res/xml/numeric.xml2
4 files changed, 7 insertions, 7 deletions
diff --git a/res/xml/bone.xml b/res/xml/bone.xml
index 391c9f9..c107e88 100644
--- a/res/xml/bone.xml
+++ b/res/xml/bone.xml
@@ -36,8 +36,8 @@
<key width="1.5" key0="backspace" key1="delete" key3=";"/>
</row>
<row height="0.95">
- <key width="1.8" key0="ctrl" key2="meta" key4="switch_numeric"/>
- <key width="1.2" key0="fn" key1="alt" key2="change_method" key3="switch_emoji" key4="config"/>
+ <key width="1.8" key0="ctrl" key2="loc meta" key4="switch_numeric"/>
+ <key width="1.2" key0="fn" key1="loc alt" key2="change_method" key3="switch_emoji" key4="config"/>
<key width="4.0" key0="space" key1="switch_programming" key2="0" edgekeys="true"/>
<key width="1.2" key1="up" key2="right" key3="left" key4="down" edgekeys="true"/>
<key width="1.8" key0="enter" key3="action"/>
diff --git a/res/xml/bottom_row.xml b/res/xml/bottom_row.xml
index 14e28a2..bfd4e90 100644
--- a/res/xml/bottom_row.xml
+++ b/res/xml/bottom_row.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<row height="0.95">
- <key width="1.8" key0="ctrl" key1="loc switch_greekmath" key2="meta" key4="switch_numeric"/>
- <key width="1.2" key0="fn" key1="alt" key2="change_method" key3="switch_emoji" key4="config"/>
+ <key width="1.8" key0="ctrl" key1="loc switch_greekmath" key2="loc meta" key4="switch_numeric"/>
+ <key width="1.2" key0="fn" key1="loc alt" key2="change_method" key3="switch_emoji" key4="config"/>
<key width="4.0" key0="space" key1="switch_programming" edgekeys="true"/>
<key width="1.2" key1="up" key2="right" key3="left" key4="down" edgekeys="true"/>
<key width="1.8" key0="enter" key2="action"/>
diff --git a/res/xml/neo2.xml b/res/xml/neo2.xml
index f20c8b9..1ed75b8 100644
--- a/res/xml/neo2.xml
+++ b/res/xml/neo2.xml
@@ -39,8 +39,8 @@
<key width="1.5" key0="backspace" key2="delete"/>
</row>
<row height="0.95">
- <key width="1.8" key0="ctrl" key2="meta" key4="switch_numeric"/>
- <key width="1.2" key0="fn" key1="alt" key2="change_method" key3="switch_emoji" key4="config"/>
+ <key width="1.8" key0="ctrl" key2="loc meta" key4="switch_numeric"/>
+ <key width="1.2" key0="fn" key1="loc alt" key2="change_method" key3="switch_emoji" key4="config"/>
<key width="4.0" key0="space" key1="switch_programming" edgekeys="true"/>
<key width="1.2" key1="up" key2="right" key3="left" key4="down" edgekeys="true"/>
<key key0="j" key4=";"/>
diff --git a/res/xml/numeric.xml b/res/xml/numeric.xml
index 087b625..ba1081f 100644
--- a/res/xml/numeric.xml
+++ b/res/xml/numeric.xml
@@ -20,7 +20,7 @@
</row>
<row>
<key width="0.75" key0="switch_greekmath"/>
- <key width="0.75" key0="shift" key2="fn" key4="alt"/>
+ <key width="0.75" key0="shift" key2="fn" key4="loc alt"/>
<key key0="1" key1="superscript" key2="ordinal" key3="subscript"/>
<key key0="2"/>
<key key0="3"/>