From 42505eed8269c5407ca16fc37e7340b5de242848 Mon Sep 17 00:00:00 2001 From: Tom Ross Date: Mon, 12 Feb 2007 03:06:28 +0000 Subject: [PATCH] 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 --- apps/plugins/invadrox.c | 10 ++++++++-- 1 file 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