From 339bea4b6e93068d13bf662900012c98f83808c6 Mon Sep 17 00:00:00 2001 From: Benjamin Brown Date: Wed, 24 Dec 2014 04:48:50 -0500 Subject: Fixes more red for xworlds keymaps A temporary fix for keymaps.h, the logic needs rewritten Change-Id: Ic8c81a5f01620ffc409cf6220b2916c0ec428dbe Reviewed-on: http://gerrit.rockbox.org/1082 Reviewed-by: Amaury Pouly --- apps/plugins/xworld/keymaps.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'apps/plugins/xworld/keymaps.h') diff --git a/apps/plugins/xworld/keymaps.h b/apps/plugins/xworld/keymaps.h index ef32e59974..6456ab1ede 100644 --- a/apps/plugins/xworld/keymaps.h +++ b/apps/plugins/xworld/keymaps.h @@ -51,8 +51,6 @@ #define BTN_LEFT BUTTON_LEFT #define BTN_RIGHT BUTTON_RIGHT -#elif (CONFIG_KEYPAD == ONDAVX747_PAD) - #if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) #define BTN_UP_LEFT BUTTON_BACK #define BTN_UP_RIGHT BUTTON_PLAYPAUSE @@ -171,6 +169,12 @@ #define BTN_FIRE BUTTON_PLUS #define BTN_PAUSE BUTTON_MINUS +#elif (CONFIG_KEYPAD == ONDAVX747_PAD) +#define BTN_LEFT BUTTON_LEFT +#define BTN_RIGHT BUTTON_RIGHT +#define BTN_FIRE BUTTON_BOTTOMLEFT +#define BTN_PAUSE BUTTON_TOPLEFT + #else #error Unsupported keypad #endif -- cgit v1.2.3