moved backspace key down in dialer layer (mobile-intl and simple layout), for m… | |
git clone git://git.suckless.org/svkbd | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b0534041999d8460683e09aa12b058f96dfb2e08 | |
parent b5775349f6329c822b39ebf6d2b42e9715bf1430 | |
Author: Maarten van Gompel <[email protected]> | |
Date: Sun, 11 Jul 2021 17:53:48 +0200 | |
moved backspace key down in dialer layer (mobile-intl and simple layout), for m… | |
Diffstat: | |
M layout.mobile-intl.h | 12 ++++++------ | |
M layout.mobile-simple.h | 12 ++++++------ | |
2 files changed, 12 insertions(+), 12 deletions(-) | |
--- | |
diff --git 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 | |
@@ -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 }, |