summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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