commit b0534041999d8460683e09aa12b058f96dfb2e08
Author: Maarten van Gompel <[email protected]>
AuthorDate: Sun Jul 11 17:53:48 2021 +0200
Commit: Hiltjo Posthuma <[email protected]>
CommitDate: Mon Jul 12 12:33:55 2021 +0200
moved backspace key down in dialer layer (mobile-intl and simple layout),
for more consistency with other layers
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
@@ -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
//---
@@ -570,23 +570,23 @@ static Key keys_dialer[KEYS] = {
{ "1", "!" , XK_1, 1 },
{ "2", "@", 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
@@ -159,7 +159,8 @@ static Key keys_dialer[DIALER_KEYS] = {
{ "1!", 0, XK_1, 1 },
{ "2@", 0, XK_2, 1 },
{ "3#", 0, XK_3, 1 },
- { "â«", 0, XK_BackSpace, 2 },
+ { "-_", 0, XK_minus, 1 },
+ { ",<", 0, XK_comma, 1 },
{ 0 },
@@ -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 },
@@ -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 },
@@ -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 },