summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorBenjamin Brown <foolsh.person@gmail.com>2014-12-24 04:48:50 -0500
committerAmaury Pouly <amaury.pouly@gmail.com>2014-12-24 11:45:20 +0100
commit339bea4b6e93068d13bf662900012c98f83808c6 (patch)
tree279283efd1c6b2e14365e8ec2001079eda9b1826 /apps/plugins
parent7de7c22a6823ddb693c6269074bf1cf80e0c41d1 (diff)
downloadrockbox-339bea4b6e93068d13bf662900012c98f83808c6.tar.gz
rockbox-339bea4b6e93068d13bf662900012c98f83808c6.zip
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 <amaury.pouly@gmail.com>
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/xworld/keymaps.h8
1 files changed, 6 insertions, 2 deletions
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 @@
51#define BTN_LEFT BUTTON_LEFT 51#define BTN_LEFT BUTTON_LEFT
52#define BTN_RIGHT BUTTON_RIGHT 52#define BTN_RIGHT BUTTON_RIGHT
53 53
54#elif (CONFIG_KEYPAD == ONDAVX747_PAD)
55
56#if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) 54#if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD)
57#define BTN_UP_LEFT BUTTON_BACK 55#define BTN_UP_LEFT BUTTON_BACK
58#define BTN_UP_RIGHT BUTTON_PLAYPAUSE 56#define BTN_UP_RIGHT BUTTON_PLAYPAUSE
@@ -171,6 +169,12 @@
171#define BTN_FIRE BUTTON_PLUS 169#define BTN_FIRE BUTTON_PLUS
172#define BTN_PAUSE BUTTON_MINUS 170#define BTN_PAUSE BUTTON_MINUS
173 171
172#elif (CONFIG_KEYPAD == ONDAVX747_PAD)
173#define BTN_LEFT BUTTON_LEFT
174#define BTN_RIGHT BUTTON_RIGHT
175#define BTN_FIRE BUTTON_BOTTOMLEFT
176#define BTN_PAUSE BUTTON_TOPLEFT
177
174#else 178#else
175#error Unsupported keypad 179#error Unsupported keypad
176#endif 180#endif