diff options
author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:42:52 +0000 |
---|---|---|
committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:42:52 +0000 |
commit | 338e2bbb0c6673452c64378ef9e609d5c19c7558 (patch) | |
tree | 7314096e43a7eedfd7091c39fed97c0c33400827 /apps/recorder | |
parent | b902428180c11def61f2d3caa2612b9f80d7d41a (diff) |
first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/keyboard.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c index d45717c6dd..d1756ace2c 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -156,6 +156,20 @@ #define KBD_UP BUTTON_UP #define KBD_DOWN BUTTON_DOWN +#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_ABORT BUTTON_A +#define KBD_LEFT BUTTON_LEFT +#define KBD_RIGHT BUTTON_RIGHT +#define KBD_UP BUTTON_UP +#define KBD_DOWN BUTTON_DOWN + #endif #if KEYBOARD_PAGES == 1 |