From b85b67c2f03d1dd1ed96f8352c06e5e23fcbccfe Mon Sep 17 00:00:00 2001
From: Jules Aguillon
Date: Sun, 3 Apr 2022 12:48:29 +0200
Subject: Swap Ctrl and switch_numeric keys
The switch_numeric key is generally more important, especially in the
numeric pane.
---
res/xml/bottom_row.xml | 2 +-
res/xml/numeric.xml | 2 +-
srcs/juloo.keyboard2/KeyValue.java | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/res/xml/bottom_row.xml b/res/xml/bottom_row.xml
index 5e8f176..3602605 100644
--- a/res/xml/bottom_row.xml
+++ b/res/xml/bottom_row.xml
@@ -1,6 +1,6 @@
-
+
diff --git a/res/xml/numeric.xml b/res/xml/numeric.xml
index 2ded41c..0b7ef49 100644
--- a/res/xml/numeric.xml
+++ b/res/xml/numeric.xml
@@ -26,7 +26,7 @@
-
+
diff --git a/srcs/juloo.keyboard2/KeyValue.java b/srcs/juloo.keyboard2/KeyValue.java
index a8a8197..caca85e 100644
--- a/srcs/juloo.keyboard2/KeyValue.java
+++ b/srcs/juloo.keyboard2/KeyValue.java
@@ -234,8 +234,8 @@ class KeyValue
addCharKey('£', EVENT_NONE, FLAG_LOCALIZED);
addSpecialKey("config", "\u0004", EVENT_CONFIG, FLAG_KEY_FONT | FLAG_SMALLER_FONT);
- addSpecialKey("switch_text", "ABC", EVENT_SWITCH_TEXT);
- addSpecialKey("switch_numeric", "123+", EVENT_SWITCH_NUMERIC);
+ addSpecialKey("switch_text", "ABC", EVENT_SWITCH_TEXT | FLAG_SMALLER_FONT);
+ addSpecialKey("switch_numeric", "123+", EVENT_SWITCH_NUMERIC | FLAG_SMALLER_FONT);
addSpecialKey("switch_emoji", "\u0001" , EVENT_SWITCH_EMOJI, FLAG_KEY_FONT | FLAG_SMALLER_FONT);
addSpecialKey("switch_back_emoji", "ABC", EVENT_SWITCH_BACK_EMOJI);
addSpecialKey("change_method", "\u0009", EVENT_CHANGE_METHOD, FLAG_KEY_FONT | FLAG_SMALLER_FONT);
--
cgit v1.2.3