summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2007-10-16 19:57:30 +0000
committerMarianne Arnold <pixelma@rockbox.org>2007-10-16 19:57:30 +0000
commit6c002daba488a487fc9283e1a99cc48d00fe31b2 (patch)
tree7bd8441f40f3e238af1f2b7d6a24eb1d127bdd38 /apps/plugins
parentb5f779b2efbefae67c876727b297575e03d5c8a2 (diff)
Pong: small improvement in the c200 buttonmap; the left paddle is now controlled with the volume buttons. Also update the manual accordingly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15148 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/pong.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/apps/plugins/pong.c b/apps/plugins/pong.c
index 79069b9285..43672a6db8 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -100,8 +100,7 @@ PLUGIN_HEADER
#define PONG_RIGHT_UP BUTTON_VOL_UP
#define PONG_RIGHT_DOWN BUTTON_VOL_DOWN
-#elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \
-(CONFIG_KEYPAD == SANSA_C200_PAD)
+#elif (CONFIG_KEYPAD == SANSA_E200_PAD)
#define PONG_QUIT BUTTON_POWER
#define PONG_PAUSE BUTTON_SELECT
#define PONG_LEFT_UP BUTTON_LEFT
@@ -109,6 +108,14 @@ PLUGIN_HEADER
#define PONG_RIGHT_UP BUTTON_UP
#define PONG_RIGHT_DOWN BUTTON_RIGHT
+#elif (CONFIG_KEYPAD == SANSA_C200_PAD)
+#define PONG_QUIT BUTTON_POWER
+#define PONG_PAUSE BUTTON_SELECT
+#define PONG_LEFT_UP BUTTON_VOL_UP
+#define PONG_LEFT_DOWN BUTTON_VOL_DOWN
+#define PONG_RIGHT_UP BUTTON_UP
+#define PONG_RIGHT_DOWN BUTTON_DOWN
+
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
#define PONG_QUIT BUTTON_POWER
#define PONG_LEFT_UP BUTTON_SCROLL_UP