diff options
| author | Rob Purchase <shotofadds@rockbox.org> | 2008-04-27 15:30:19 +0000 |
|---|---|---|
| committer | Rob Purchase <shotofadds@rockbox.org> | 2008-04-27 15:30:19 +0000 |
| commit | 297e0504dad929f8990a654c4bc7a3e891ff41cb (patch) | |
| tree | 7def4b8fba3c184f82415e840e9c32780848970b /apps/plugins/fireworks.c | |
| parent | 6b9b508aab29a406015e93c4808d87591173a083 (diff) | |
| download | rockbox-297e0504dad929f8990a654c4bc7a3e891ff41cb.zip rockbox-297e0504dad929f8990a654c4bc7a3e891ff41cb.tar.gz rockbox-297e0504dad929f8990a654c4bc7a3e891ff41cb.tar.bz2 rockbox-297e0504dad929f8990a654c4bc7a3e891ff41cb.tar.xz | |
FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fireworks.c')
| -rw-r--r-- | apps/plugins/fireworks.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index 3af9bdf..361930f 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c @@ -70,12 +70,20 @@ static struct plugin_api* rb; #define BTN_MENU BUTTON_RC_REC #define BTN_FIRE BUTTON_RC_PLAY #elif (CONFIG_KEYPAD == COWOND2_PAD) -#define BTN_MENU BUTTON_MENU -#define BTN_FIRE BUTTON_SELECT +#define BTN_MENU (BUTTON_MENU|BUTTON_REL) #else #error No keymap defined! #endif +#ifdef HAVE_TOUCHPAD +#ifndef BTN_MENU +#define BTN_MENU (BUTTON_TOPLEFT|BUTTON_REL) +#endif +#ifndef BTN_FIRE +#define BTN_FIRE BUTTON_CENTER +#endif +#endif + /* The lowdown on source terminology: * a ROCKET is launched from the LCD bottom. * FIREWORKs are ejected from the rocket when it explodes. */ |