summaryrefslogtreecommitdiff
path: root/firmware/export/button.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-18 11:09:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-18 11:09:06 +0000
commitcedba8830fd015e9a61b7a772927fefe565f7b41 (patch)
treee33e1b1ff14904098534a7e78d71ba672fcb78e0 /firmware/export/button.h
parent205be712fe6ad03f194216bc0f936f1b5917eafd (diff)
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 'firmware/export/button.h')
-rw-r--r--firmware/export/button.h11
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);
#define BUTTON_DOWN 0x0020
#define BUTTON_SELECT 0x0100
+#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
+
+/* TODO: These codes should relate to the hardware */
+
+#define BUTTON_PLAY 0x0001
+#define BUTTON_REC 0x0002
+#define BUTTON_POWER 0x0004
+#define BUTTON_UP 0x0008
+#define BUTTON_DOWN 0x0010
+#define BUTTON_MENU 0x0020
+
#endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */
#endif /* _BUTTON_H_ */