summaryrefslogtreecommitdiff
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
authorWill Robertson <aliask@rockbox.org>2008-02-17 12:23:02 +0000
committerWill Robertson <aliask@rockbox.org>2008-02-17 12:23:02 +0000
commit8215b34fdb7228283a055b1e4f04eb15cdf89d58 (patch)
tree6f3b3aa2098a514da27350d2d58f9c9c8ffe219b /apps/plugins/cube.c
parentdf71f4c50930da1ea7121786d2ba3961d5426abf (diff)
downloadrockbox-8215b34fdb7228283a055b1e4f04eb15cdf89d58.zip
rockbox-8215b34fdb7228283a055b1e4f04eb15cdf89d58.tar.gz
rockbox-8215b34fdb7228283a055b1e4f04eb15cdf89d58.tar.bz2
rockbox-8215b34fdb7228283a055b1e4f04eb15cdf89d58.tar.xz
Plugins now enabled and working for the Gigabeat S.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r--apps/plugins/cube.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 187fcad..164c139 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -204,6 +204,19 @@ PLUGIN_HEADER
#define CUBE_PAUSE (BUTTON_RC_HEART | BUTTON_REL)
#define CUBE_HIGHSPEED BUTTON_RC_HEART
+#elif CONFIG_KEYPAD == GIGABEAT_S_PAD
+#define CUBE_QUIT BUTTON_BACK
+#define CUBE_X_INC BUTTON_LEFT
+#define CUBE_X_DEC BUTTON_RIGHT
+#define CUBE_Y_INC BUTTON_UP
+#define CUBE_Y_DEC BUTTON_DOWN
+#define CUBE_Z_INC BUTTON_VOL_UP
+#define CUBE_Z_DEC BUTTON_VOL_DOWN
+#define CUBE_MODE BUTTON_PREV
+#define CUBE_PAUSE_PRE BUTTON_PLAY
+#define CUBE_PAUSE (BUTTON_PLAY | BUTTON_REL)
+#define CUBE_HIGHSPEED (BUTTON_NEXT | BUTTON_REL)
+
#endif
#ifdef HAVE_LCD_BITMAP