summaryrefslogtreecommitdiff
path: root/apps/plugins/pong.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/pong.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/pong.c')
-rw-r--r--apps/plugins/pong.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index 43672a6..7052c0b 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -123,6 +123,13 @@ PLUGIN_HEADER
#define PONG_RIGHT_UP BUTTON_REW
#define PONG_RIGHT_DOWN BUTTON_FF
+#elif (CONFIG_KEYPAD == GIGABEAT_S_PAD)
+#define PONG_QUIT BUTTON_BACK
+#define PONG_LEFT_UP BUTTON_UP
+#define PONG_LEFT_DOWN BUTTON_DOWN
+#define PONG_RIGHT_UP BUTTON_VOL_UP
+#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
+
#endif
static struct plugin_api* rb;