diff options
Diffstat (limited to 'apps/plugins/beatbox')
-rw-r--r-- | apps/plugins/beatbox/beatbox.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/apps/plugins/beatbox/beatbox.c b/apps/plugins/beatbox/beatbox.c index e7d3225c8b..0fd2a947fb 100644 --- a/apps/plugins/beatbox/beatbox.c +++ b/apps/plugins/beatbox/beatbox.c | |||
@@ -106,9 +106,13 @@ | |||
106 | #define BTN_UP BUTTON_UP | 106 | #define BTN_UP BUTTON_UP |
107 | #define BTN_DOWN BUTTON_DOWN | 107 | #define BTN_DOWN BUTTON_DOWN |
108 | 108 | ||
109 | #endif | 109 | #elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD |
110 | 110 | #define BTN_QUIT BUTTON_POWER | |
111 | #define BTN_RIGHT BUTTON_RIGHT | ||
112 | #define BTN_UP BUTTON_UP | ||
113 | #define BTN_DOWN BUTTON_DOWN | ||
111 | 114 | ||
115 | #endif | ||
112 | 116 | ||
113 | #define FRACTSIZE 10 | 117 | #define FRACTSIZE 10 |
114 | 118 | ||
@@ -216,10 +220,13 @@ int quit=0; | |||
216 | #define BEATBOX_RIGHT BUTTON_RIGHT | 220 | #define BEATBOX_RIGHT BUTTON_RIGHT |
217 | #define BEATBOX_SELECT BUTTON_SELECT | 221 | #define BEATBOX_SELECT BUTTON_SELECT |
218 | 222 | ||
219 | 223 | #if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) | |
224 | #define BEATBOX_PLAY BUTTON_PLAYPAUSE | ||
225 | #define BEATBOX_STOP BUTTON_BACK | ||
226 | #else | ||
220 | #define BEATBOX_PLAY BUTTON_ON | 227 | #define BEATBOX_PLAY BUTTON_ON |
221 | #define BEATBOX_STOP BUTTON_OFF | 228 | #define BEATBOX_STOP BUTTON_OFF |
222 | 229 | #endif | |
223 | 230 | ||
224 | #define VAL_NONE 0 | 231 | #define VAL_NONE 0 |
225 | #define VAL_ENABLED 1 | 232 | #define VAL_ENABLED 1 |