summaryrefslogtreecommitdiff
path: root/apps/plugins/wormlet.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/wormlet.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/wormlet.c')
-rw-r--r--apps/plugins/wormlet.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index c05918e..3681446 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -176,6 +176,19 @@ PLUGIN_HEADER
#define PLAYERS_TEXT "Up/Down"
#define WORMS_TEXT "Left/Right"
+#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)
+
+#define BTN_DIR_UP BUTTON_UP
+#define BTN_DIR_DOWN BUTTON_DOWN
+#define BTN_DIR_LEFT BUTTON_LEFT
+#define BTN_DIR_RIGHT BUTTON_RIGHT
+#define BTN_STARTPAUSE BUTTON_SELECT
+#define BTN_QUIT BUTTON_BACK
+#define BTN_STOPRESET BUTTON_MENU
+
+#define PLAYERS_TEXT "Up/Down"
+#define WORMS_TEXT "Left/Right"
+
#endif
#if (LCD_WIDTH == 112) && (LCD_HEIGHT == 64)