summaryrefslogtreecommitdiff
path: root/apps/plugins/invadrox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/invadrox.c')
-rw-r--r--apps/plugins/invadrox.c17
1 files changed, 14 insertions, 3 deletions
diff --git a/apps/plugins/invadrox.c b/apps/plugins/invadrox.c
index d7439ee19e..946e36d05a 100644
--- a/apps/plugins/invadrox.c
+++ b/apps/plugins/invadrox.c
@@ -117,14 +117,25 @@ PLUGIN_HEADER
117#elif CONFIG_KEYPAD == COWOND2_PAD 117#elif CONFIG_KEYPAD == COWOND2_PAD
118 118
119#define QUIT BUTTON_POWER 119#define QUIT BUTTON_POWER
120#define LEFT BUTTON_MINUS
121#define RIGHT BUTTON_PLUS
122#define FIRE BUTTON_MENU
123 120
124#else 121#else
125 #error INVADROX: Unsupported keypad 122 #error INVADROX: Unsupported keypad
126#endif 123#endif
127 124
125#ifdef HAVE_TOUCHPAD
126#ifndef QUIT
127#define QUIT BUTTON_TOPLEFT
128#endif
129#ifndef LEFT
130#define LEFT BUTTON_MIDLEFT
131#endif
132#ifndef RIGHT
133#define RIGHT BUTTON_MIDRIGHT
134#endif
135#ifndef FIRE
136#define FIRE BUTTON_CENTER
137#endif
138#endif
128 139
129#ifndef UNUSED 140#ifndef UNUSED
130#define UNUSED __attribute__ ((unused)) 141#define UNUSED __attribute__ ((unused))