summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pong.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-01-18 11:09:06 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-01-18 11:09:06 +0000
commitcedba8830fd015e9a61b7a772927fefe565f7b41 (patch)
treee33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/plugins/pong.c
parent205be712fe6ad03f194216bc0f936f1b5917eafd (diff)
downloadrockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz
rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.bz2
rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 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 4e9d99b8f0..b725c9305a 100644
--- a/apps/plugins/pong.c
+++ b/apps/plugins/pong.c
@@ -65,6 +65,13 @@ PLUGIN_HEADER
#define PONG_RIGHT_UP BUTTON_RIGHT
#define PONG_RIGHT_DOWN BUTTON_PLAY
+#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
+#define PONG_QUIT BUTTON_POWER
+#define PONG_LEFT_UP BUTTON_UP
+#define PONG_LEFT_DOWN BUTTON_DOWN
+#define PONG_RIGHT_UP BUTTON_REC
+#define PONG_RIGHT_DOWN BUTTON_PLAY
+
#endif
static struct plugin_api* rb;