summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-01-09 23:16:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-01-09 23:16:27 +0000
commit81bf83d1f935bbc92e6a65fe2c6d9680282800bf (patch)
treee953672580de5d052e2c0df71a1f3fb257b6e85a /firmware
parent0d09b740d561af039e6d97e77af8d9791584d443 (diff)
downloadrockbox-81bf83d1f935bbc92e6a65fe2c6d9680282800bf.tar.gz
rockbox-81bf83d1f935bbc92e6a65fe2c6d9680282800bf.tar.bz2
rockbox-81bf83d1f935bbc92e6a65fe2c6d9680282800bf.zip
Jean-Philippe Bernardy: gmini keypad added
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5542 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/button.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index 801e9994da..6bfeecb46f 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -100,7 +100,16 @@ bool button_hold(void);
#define BUTTON_DOWN 0x0020
#define BUTTON_MENU 0x0100
-#endif /* RECORDER/PLAYER/ONDIO KEYPAD */
+#elif CONFIG_KEYPAD == GMINI100_PAD
+
+#define BUTTON_ON 0x0001
+#define BUTTON_CANCEL 0x0002
+#define BUTTON_PLAY 0x0004
+#define BUTTON_UP 0x0010
+#define BUTTON_DOWN 0x0020
+#define BUTTON_MENU 0x0100
+
+#endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */
#endif /* _BUTTON_H_ */