summaryrefslogtreecommitdiff
path: root/apps/recorder/keyboard.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-08-09 13:25:43 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-08-09 13:25:43 +0000
commit91022738ee412fda01088fcef44d4eaee946513f (patch)
tree372825d9d54365bd537da1f19712a77ec6949a34 /apps/recorder/keyboard.c
parent96e7c578f4dbb63390d0adea962c82968f251e7c (diff)
fix button mappings for the gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10502 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r--apps/recorder/keyboard.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index 23a1102c3d..8f35b12d4b 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -162,13 +162,14 @@
#elif CONFIG_KEYPAD == GIGABEAT_PAD
-/* TODO: Check keyboard mappings */
-
-#define KBD_MODES /* Gigabeat uses 2 modes, picker and line edit */
-#define KBD_SELECT (BUTTON_MENU | BUTTON_REL) /* backspace in line edit */
-#define KBD_SELECT_PRE BUTTON_MENU
-#define KBD_DONE BUTTON_POWER
+#define KBD_CURSOR_RIGHT (BUTTON_POWER | BUTTON_RIGHT)
+#define KBD_CURSOR_LEFT (BUTTON_POWER | BUTTON_LEFT)
+#define KBD_SELECT BUTTON_SELECT
+#define KBD_PAGE_FLIP (BUTTON_POWER | BUTTON_MENU)
+#define KBD_DONE_PRE BUTTON_POWER
+#define KBD_DONE (BUTTON_POWER | BUTTON_REL)
#define KBD_ABORT BUTTON_A
+#define KBD_BACKSPACE BUTTON_MENU
#define KBD_LEFT BUTTON_LEFT
#define KBD_RIGHT BUTTON_RIGHT
#define KBD_UP BUTTON_UP