diff options
author | Dave Chapman <dave@dchapman.com> | 2006-01-12 00:35:50 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-01-12 00:35:50 +0000 |
commit | d83e929f3fc369a5981e1e40e1c5307169a46cfc (patch) | |
tree | ac323ca5811374a030a1b65bb77fc7ccc163db04 /apps/recorder | |
parent | 8d130684214d23a9163810d1dacc33d108f2338a (diff) |
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 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 5f56274026..3cff78bbc5 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c @@ -114,6 +114,20 @@ #define KBD_UP BUTTON_SCROLL_BACK #define KBD_DOWN BUTTON_SCROLL_FWD +#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD + +/* TODO: Check keyboard mappings */ + +#define KBD_MODES /* iFP7xx uses 2 modes, picker and line edit */ +#define KBD_SELECT (BUTTON_SELECT | BUTTON_REL) /* backspace in line edit */ +#define KBD_SELECT_PRE BUTTON_SELECT +#define KBD_DONE BUTTON_MODE +#define KBD_ABORT BUTTON_PLAY +#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 |