summaryrefslogtreecommitdiffstats
path: root/apps/plugins/xobox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r--apps/plugins/xobox.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index f60938e900..55a1dc4bdb 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -351,7 +351,11 @@ CONFIG_KEYPAD == MROBE500_PAD
#define DOWN BUTTON_NEXT
#define PAUSE BUTTON_PLAY
-#elif defined(HAVE_TOUCHSCREEN)
+#else
+#error "No keymap defined!"
+#endif
+
+#if defined(HAVE_TOUCHSCREEN)
#ifndef QUIT
#define QUIT BUTTON_TOPLEFT
#endif
@@ -370,8 +374,6 @@ CONFIG_KEYPAD == MROBE500_PAD
#ifndef PAUSE
#define PAUSE BUTTON_CENTER
#endif
-#else
-#error No keymap defined!
#endif
#define MOVE_NO 0 /* player movement */