summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2007-02-12 03:06:28 +0000
committerTom Ross <midgey@rockbox.org>2007-02-12 03:06:28 +0000
commit42505eed8269c5407ca16fc37e7340b5de242848 (patch)
tree29cb13ceb5c70b4a8a34f06fd23e972f6c3b19dd
parent332b324af8b4df4d2f4bb9ada763dc7256311ab0 (diff)
downloadrockbox-42505eed8269c5407ca16fc37e7340b5de242848.tar.gz
rockbox-42505eed8269c5407ca16fc37e7340b5de242848.tar.bz2
rockbox-42505eed8269c5407ca16fc37e7340b5de242848.zip
Use play instead of select to fire in Invadrox for the H100. Allows the user to move and fire at the same time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12280 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/invadrox.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/plugins/invadrox.c b/apps/plugins/invadrox.c
index 5dfcf8b080..5e537b4bbc 100644
--- a/apps/plugins/invadrox.c
+++ b/apps/plugins/invadrox.c
@@ -47,8 +47,14 @@ PLUGIN_HEADER
#define DBG(format, arg...) {}
#endif
-#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
- (CONFIG_KEYPAD == IRIVER_H300_PAD)
+#if CONFIG_KEYPAD == IRIVER_H100_PAD
+
+#define QUIT BUTTON_OFF
+#define LEFT BUTTON_LEFT
+#define RIGHT BUTTON_RIGHT
+#define FIRE BUTTON_ON
+
+#elif CONFIG_KEYPAD == IRIVER_H300_PAD
#define QUIT BUTTON_OFF
#define LEFT BUTTON_LEFT