diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/recorder/keyboard.c | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/keyboard.c')
-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 3cff78bbc5..88037ac5d5 100644 --- a/apps/recorder/keyboard.c +++ b/apps/recorder/keyboard.c | |||
@@ -128,6 +128,20 @@ | |||
128 | #define KBD_UP BUTTON_UP | 128 | #define KBD_UP BUTTON_UP |
129 | #define KBD_DOWN BUTTON_DOWN | 129 | #define KBD_DOWN BUTTON_DOWN |
130 | 130 | ||
131 | #elif CONFIG_KEYPAD == IAUDIO_X5_PAD | ||
132 | |||
133 | /* TODO: Check keyboard mappings */ | ||
134 | |||
135 | #define KBD_MODES /* iAudio X5 uses 2 modes, picker and line edit */ | ||
136 | #define KBD_SELECT (BUTTON_MENU | BUTTON_REL) /* backspace in line edit */ | ||
137 | #define KBD_SELECT_PRE BUTTON_MENU | ||
138 | #define KBD_DONE BUTTON_PLAY | ||
139 | #define KBD_ABORT BUTTON_REC | ||
140 | #define KBD_LEFT BUTTON_LEFT | ||
141 | #define KBD_RIGHT BUTTON_RIGHT | ||
142 | #define KBD_UP BUTTON_UP | ||
143 | #define KBD_DOWN BUTTON_DOWN | ||
144 | |||
131 | #endif | 145 | #endif |
132 | 146 | ||
133 | #if KEYBOARD_PAGES == 1 | 147 | #if KEYBOARD_PAGES == 1 |