[hackers] [PATCH svkbd 5/7] moved backspace key down in dialer layer (mobile-intl and simple layout), for more consistency with other layers

From: Maarten van Gompel <proycon_AT_anaproy.nl>
Date: Sun, 11 Jul 2021 17:53:48 +0200

---
 layout.mobile-intl.h   | 12 ++++++------
 layout.mobile-simple.h | 12 ++++++------
 2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/layout.mobile-intl.h b/layout.mobile-intl.h
index aae7410..8962e7e 100644
--- a/layout.mobile-intl.h
+++ b/layout.mobile-intl.h
_AT_@ -113,7 +113,7 @@ static Key keys_minimal[KEYS] = {
 	{ "↲ Enter", 0, XK_Return, 2 },
 };
-#define OVERLAYS 197
+#define OVERLAYS 198
 static Key overlay[OVERLAYS] = {
 	{ 0, 0, XK_a }, //Overlay for a
 	//---
_AT_@ -570,23 +570,23 @@ static Key keys_dialer[KEYS] = {
 	{ "1", "!" , XK_1, 1 },
 	{ "2", "_AT_", XK_2, 1 },
 	{ "3", "#", XK_3, 1 },
-	{ "⌫Bksp", 0, XK_BackSpace, 2 },
+	{ "-", "_", XK_minus, 1 },
+	{ ",", "<", XK_comma, 1 },
 	{ 0 }, /* New row */
 	{ "Shift", 0, XK_Shift_L, 1 },
 	{ "4", "$", XK_4, 1 },
 	{ "5", "%", XK_5, 1 },
 	{ "6", "^", XK_6, 1 },
-	{ "-", "_", XK_minus, 1 },
-	{ ",", "<", XK_comma, 1 },
+	{ "=", "+", XK_equal, 1 },
+	{ "/", "?", XK_slash, 1 },
 	{ 0 }, /* New row */
 	{ "abc", 0, XK_Mode_switch, 1 },
 	{ "7", "&", XK_7, 1 },
 	{ "8", "*", XK_8, 1 },
 	{ "9", "(", XK_9, 1 },
-	{ "=", "+", XK_equal, 1 },
-	{ "/", "?", XK_slash, 1 },
+	{ "⌫Bksp", 0, XK_BackSpace, 2 },
 	{ 0 }, /* New row */
 	{ "↺", 0, XK_Cancel, 1},
diff --git a/layout.mobile-simple.h b/layout.mobile-simple.h
index a0d414a..4d26226 100644
--- a/layout.mobile-simple.h
+++ b/layout.mobile-simple.h
_AT_@ -159,7 +159,8 @@ static Key keys_dialer[DIALER_KEYS] = {
 	{ "1!", 0, XK_1, 1 },
 	{ "2_AT_", 0, XK_2, 1 },
 	{ "3#", 0, XK_3, 1 },
-	{ "⌫", 0, XK_BackSpace, 2 },
+	{ "-_", 0, XK_minus, 1 },
+	{ ",<", 0, XK_comma, 1 },
 	{ 0 },
_AT_@ -167,8 +168,8 @@ static Key keys_dialer[DIALER_KEYS] = {
 	{ "4$", 0, XK_4, 1 },
 	{ "5%", 0, XK_5, 1 },
 	{ "6^", 0, XK_6, 1 },
-	{ "-_", 0, XK_minus, 1 },
-	{ ",<", 0, XK_comma, 1 },
+	{ "=+", 0, XK_equal, 1 },
+	{ "/?", 0, XK_slash, 1 },
 	{ 0 },
_AT_@ -176,8 +177,7 @@ static Key keys_dialer[DIALER_KEYS] = {
 	{ "7&", 0, XK_7, 1 },
 	{ "8*", 0, XK_8, 1 },
 	{ "9(", 0, XK_9, 1 },
-	{ "=+", 0, XK_equal, 1 },
-	{ "/?", 0, XK_slash, 1 },
+	{ "⌫", 0, XK_BackSpace, 2 },
 	{ 0 },
_AT_@ -188,7 +188,7 @@ static Key keys_dialer[DIALER_KEYS] = {
 	{ "↲ Enter", 0, XK_Return, 2},
 };
-#define OVERLAYS 192
+#define OVERLAYS 198
 static Key overlay[OVERLAYS] = {
 	{ 0, 0, XK_a },
--
2.32.0
Received on Sun Jul 11 2021 - 17:53:48 CEST

This archive was generated by hypermail 2.3.0 : Sun Jul 11 2021 - 18:36:30 CEST