summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2021-03-25 20:58:13 -0500
committerDana Conrad <dconrad@fastmail.com>2021-03-25 20:58:13 -0500
commitf00eea4434ab5c30df48c60aaa215754f6833c5d (patch)
tree35080bbfd577eb22dc6ea025332bb7ed76356c52
parent018372bf39d8bc994c9aec325fd71640c4de2f9e (diff)
downloadrockbox-f00eea4434.tar.gz
rockbox-f00eea4434.zip
ErosQ: Fix text entry keymap
Text entry keymap was almost completely backwards, and it was impossible to submit without adding one last character. Change-Id: I40a224fe20e228c5e4670dd6583318918c59c827
-rw-r--r--apps/keymaps/keymap-erosq.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/apps/keymaps/keymap-erosq.c b/apps/keymaps/keymap-erosq.c
index 2dbb285de5..71c9b39171 100644
--- a/apps/keymaps/keymap-erosq.c
+++ b/apps/keymaps/keymap-erosq.c
@@ -177,18 +177,18 @@ static const struct button_mapping button_context_pitchscreen[] = {
}; /* button_context_pitchscreen */
static const struct button_mapping button_context_keyboard[] = {
- { ACTION_KBD_LEFT, BUTTON_SCROLL_FWD, BUTTON_NONE },
- { ACTION_KBD_RIGHT, BUTTON_SCROLL_BACK, BUTTON_NONE },
- { ACTION_KBD_CURSOR_LEFT, BUTTON_PREV, BUTTON_NONE },
- { ACTION_KBD_CURSOR_RIGHT, BUTTON_NEXT, BUTTON_NONE },
- { ACTION_KBD_UP, BUTTON_VOL_DOWN, BUTTON_NONE },
- { ACTION_KBD_UP, BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE },
- { ACTION_KBD_DOWN, BUTTON_VOL_UP, BUTTON_NONE },
- { ACTION_KBD_DOWN, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE },
- { ACTION_KBD_PAGE_FLIP, BUTTON_MENU, BUTTON_NONE },
+ { ACTION_KBD_LEFT, BUTTON_SCROLL_BACK, BUTTON_NONE },
+ { ACTION_KBD_RIGHT, BUTTON_SCROLL_FWD, BUTTON_NONE },
+ { ACTION_KBD_CURSOR_LEFT, BUTTON_VOL_UP, BUTTON_NONE },
+ { ACTION_KBD_CURSOR_RIGHT, BUTTON_VOL_DOWN, BUTTON_NONE },
+ { ACTION_KBD_UP, BUTTON_PREV, BUTTON_NONE },
+ { ACTION_KBD_UP, BUTTON_PREV|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_KBD_DOWN, BUTTON_NEXT, BUTTON_NONE },
+ { ACTION_KBD_DOWN, BUTTON_NEXT|BUTTON_REPEAT, BUTTON_NONE },
+ { ACTION_KBD_PAGE_FLIP, BUTTON_MENU|BUTTON_REL, BUTTON_MENU },
{ ACTION_KBD_BACKSPACE, BUTTON_BACK, BUTTON_NONE },
{ ACTION_KBD_BACKSPACE, BUTTON_BACK|BUTTON_REPEAT, BUTTON_NONE },
- { ACTION_KBD_SELECT, BUTTON_PLAY, BUTTON_NONE },
+ { ACTION_KBD_SELECT, BUTTON_PLAY|BUTTON_REL, BUTTON_PLAY },
{ ACTION_KBD_DONE, BUTTON_PLAY|BUTTON_REPEAT, BUTTON_NONE },
{ ACTION_KBD_ABORT, BUTTON_POWER, BUTTON_NONE },
{ ACTION_KBD_MORSE_INPUT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE },