diff options
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r-- | firmware/export/button.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index 158cf41a84..0ee8d67845 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -163,6 +163,17 @@ bool button_hold(void); | |||
163 | #define BUTTON_SCROLL_FWD 0x0010 | 163 | #define BUTTON_SCROLL_FWD 0x0010 |
164 | #define BUTTON_SCROLL_BACK 0x0020 | 164 | #define BUTTON_SCROLL_BACK 0x0020 |
165 | 165 | ||
166 | #elif CONFIG_KEYPAD == IPOD_3G_PAD | ||
167 | |||
168 | /* TODO: These codes should relate to the hardware */ | ||
169 | |||
170 | #define BUTTON_MENU 0x0002 | ||
171 | #define BUTTON_PLAY 0x0004 | ||
172 | #define BUTTON_SELECT 0x0008 | ||
173 | #define BUTTON_SCROLL_FWD 0x0010 | ||
174 | #define BUTTON_SCROLL_BACK 0x0020 | ||
175 | #define BUTTON_HOLD 0x0100 | ||
176 | |||
166 | #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD | 177 | #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD |
167 | 178 | ||
168 | #define BUTTON_PLAY 0x0001 | 179 | #define BUTTON_PLAY 0x0001 |