From a5add3982bff6907d30942f614d5a471f75c018b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 11 Oct 2020 17:20:22 -0400 Subject: Fix red introduced from keymap typos Change-Id: Ia2094eab6fe48b8fa1b313c7548e5e02d630327f --- apps/plugins/xobox.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'apps/plugins/xobox.c') 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 */ -- cgit v1.2.3