summaryrefslogtreecommitdiff
path: root/firmware/export/button.h
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-02-24 15:42:52 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-02-24 15:42:52 +0000
commit338e2bbb0c6673452c64378ef9e609d5c19c7558 (patch)
tree7314096e43a7eedfd7091c39fed97c0c33400827 /firmware/export/button.h
parentb902428180c11def61f2d3caa2612b9f80d7d41a (diff)
downloadrockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.zip
rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.tar.gz
rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.tar.bz2
rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.tar.xz
first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r--firmware/export/button.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index 484698e..3ae1d37 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -197,6 +197,20 @@ bool button_hold(void);
#define BUTTON_RC_REC (BUTTON_REMOTE | 0x00400000)
+#elif CONFIG_KEYPAD == GIGABEAT_PAD
+
+/* TODO: These codes should relate to the hardware */
+
+#define BUTTON_POWER 0x0001
+#define BUTTON_MENU 0x0002
+#define BUTTON_VOL_UP 0x0008
+#define BUTTON_VOL_DOWN 0x0010
+#define BUTTON_A 0x0020
+#define BUTTON_UP 0x0100
+#define BUTTON_DOWN 0x0200
+#define BUTTON_SELECT 0x0400
+
+
#endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */
#endif /* _BUTTON_H_ */