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 7f50b1013c..c251f11890 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -172,6 +172,17 @@ bool button_hold(void); | |||
172 | #define BUTTON_DOWN 0x0020 | 172 | #define BUTTON_DOWN 0x0020 |
173 | #define BUTTON_SELECT 0x0100 | 173 | #define BUTTON_SELECT 0x0100 |
174 | 174 | ||
175 | #elif CONFIG_KEYPAD == IAUDIO_X5_PAD | ||
176 | |||
177 | /* TODO: These codes should relate to the hardware */ | ||
178 | |||
179 | #define BUTTON_PLAY 0x0001 | ||
180 | #define BUTTON_REC 0x0002 | ||
181 | #define BUTTON_POWER 0x0004 | ||
182 | #define BUTTON_UP 0x0008 | ||
183 | #define BUTTON_DOWN 0x0010 | ||
184 | #define BUTTON_MENU 0x0020 | ||
185 | |||
175 | #endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */ | 186 | #endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */ |
176 | 187 | ||
177 | #endif /* _BUTTON_H_ */ | 188 | #endif /* _BUTTON_H_ */ |