diff options
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r-- | firmware/export/button.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index 47912ef1df..7f50b1013c 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -45,6 +45,10 @@ bool button_hold(void); | |||
45 | bool remote_button_hold(void); | 45 | bool remote_button_hold(void); |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #if CONFIG_KEYPAD == IRIVER_IFP7XX_PAD | ||
49 | bool button_hold(void); | ||
50 | #endif | ||
51 | |||
48 | #define BUTTON_NONE 0x0000 | 52 | #define BUTTON_NONE 0x0000 |
49 | 53 | ||
50 | /* Shared button codes */ | 54 | /* Shared button codes */ |
@@ -159,6 +163,15 @@ bool remote_button_hold(void); | |||
159 | #define BUTTON_SCROLL_FWD 0x0010 | 163 | #define BUTTON_SCROLL_FWD 0x0010 |
160 | #define BUTTON_SCROLL_BACK 0x0020 | 164 | #define BUTTON_SCROLL_BACK 0x0020 |
161 | 165 | ||
166 | #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD | ||
167 | |||
168 | #define BUTTON_PLAY 0x0001 | ||
169 | #define BUTTON_EQ 0x0002 | ||
170 | #define BUTTON_MODE 0x0004 | ||
171 | #define BUTTON_UP 0x0010 | ||
172 | #define BUTTON_DOWN 0x0020 | ||
173 | #define BUTTON_SELECT 0x0100 | ||
174 | |||
162 | #endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */ | 175 | #endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */ |
163 | 176 | ||
164 | #endif /* _BUTTON_H_ */ | 177 | #endif /* _BUTTON_H_ */ |