moved backspace key down in dialer layer (mobile-intl and simple layout), for more consistency with other layers

This commit is contained in:
Maarten van Gompel 2021-07-11 17:53:48 +02:00 committed by Hiltjo Posthuma
parent b5775349f6
commit b053404199
2 changed files with 12 additions and 12 deletions

View File

@ -113,7 +113,7 @@ static Key keys_minimal[KEYS] = {
{ "↲ Enter", 0, XK_Return, 2 }, { "↲ Enter", 0, XK_Return, 2 },
}; };
#define OVERLAYS 197 #define OVERLAYS 198
static Key overlay[OVERLAYS] = { static Key overlay[OVERLAYS] = {
{ 0, 0, XK_a }, //Overlay for a { 0, 0, XK_a }, //Overlay for a
//--- //---
@ -570,23 +570,23 @@ static Key keys_dialer[KEYS] = {
{ "1", "!" , XK_1, 1 }, { "1", "!" , XK_1, 1 },
{ "2", "@", XK_2, 1 }, { "2", "@", XK_2, 1 },
{ "3", "#", XK_3, 1 }, { "3", "#", XK_3, 1 },
{ "⌫Bksp", 0, XK_BackSpace, 2 }, { "-", "_", XK_minus, 1 },
{ ",", "<", XK_comma, 1 },
{ 0 }, /* New row */ { 0 }, /* New row */
{ "Shift", 0, XK_Shift_L, 1 }, { "Shift", 0, XK_Shift_L, 1 },
{ "4", "$", XK_4, 1 }, { "4", "$", XK_4, 1 },
{ "5", "%", XK_5, 1 }, { "5", "%", XK_5, 1 },
{ "6", "^", XK_6, 1 }, { "6", "^", XK_6, 1 },
{ "-", "_", XK_minus, 1 }, { "=", "+", XK_equal, 1 },
{ ",", "<", XK_comma, 1 }, { "/", "?", XK_slash, 1 },
{ 0 }, /* New row */ { 0 }, /* New row */
{ "abc", 0, XK_Mode_switch, 1 }, { "abc", 0, XK_Mode_switch, 1 },
{ "7", "&", XK_7, 1 }, { "7", "&", XK_7, 1 },
{ "8", "*", XK_8, 1 }, { "8", "*", XK_8, 1 },
{ "9", "(", XK_9, 1 }, { "9", "(", XK_9, 1 },
{ "=", "+", XK_equal, 1 }, { "⌫Bksp", 0, XK_BackSpace, 2 },
{ "/", "?", XK_slash, 1 },
{ 0 }, /* New row */ { 0 }, /* New row */
{ "", 0, XK_Cancel, 1}, { "", 0, XK_Cancel, 1},

View File

@ -159,7 +159,8 @@ static Key keys_dialer[DIALER_KEYS] = {
{ "1!", 0, XK_1, 1 }, { "1!", 0, XK_1, 1 },
{ "2@", 0, XK_2, 1 }, { "2@", 0, XK_2, 1 },
{ "3#", 0, XK_3, 1 }, { "3#", 0, XK_3, 1 },
{ "", 0, XK_BackSpace, 2 }, { "-_", 0, XK_minus, 1 },
{ ",<", 0, XK_comma, 1 },
{ 0 }, { 0 },
@ -167,8 +168,8 @@ static Key keys_dialer[DIALER_KEYS] = {
{ "4$", 0, XK_4, 1 }, { "4$", 0, XK_4, 1 },
{ "5%", 0, XK_5, 1 }, { "5%", 0, XK_5, 1 },
{ "6^", 0, XK_6, 1 }, { "6^", 0, XK_6, 1 },
{ "-_", 0, XK_minus, 1 }, { "=+", 0, XK_equal, 1 },
{ ",<", 0, XK_comma, 1 }, { "/?", 0, XK_slash, 1 },
{ 0 }, { 0 },
@ -176,8 +177,7 @@ static Key keys_dialer[DIALER_KEYS] = {
{ "7&", 0, XK_7, 1 }, { "7&", 0, XK_7, 1 },
{ "8*", 0, XK_8, 1 }, { "8*", 0, XK_8, 1 },
{ "9(", 0, XK_9, 1 }, { "9(", 0, XK_9, 1 },
{ "=+", 0, XK_equal, 1 }, { "", 0, XK_BackSpace, 2 },
{ "/?", 0, XK_slash, 1 },
{ 0 }, { 0 },
@ -188,7 +188,7 @@ static Key keys_dialer[DIALER_KEYS] = {
{ "↲ Enter", 0, XK_Return, 2}, { "↲ Enter", 0, XK_Return, 2},
}; };
#define OVERLAYS 192 #define OVERLAYS 198
static Key overlay[OVERLAYS] = { static Key overlay[OVERLAYS] = {
{ 0, 0, XK_a }, { 0, 0, XK_a },