diff options
Diffstat (limited to 'apps/plugins/lib/pluginlib_actions.c')
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index dd111d67d5..af6dc55f80 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c | |||
@@ -89,7 +89,8 @@ const struct button_mapping generic_directions[] = | |||
89 | || (CONFIG_KEYPAD == MROBE100_PAD) \ | 89 | || (CONFIG_KEYPAD == MROBE100_PAD) \ |
90 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \ | 90 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \ |
91 | || (CONFIG_KEYPAD == SANSA_CLIP_PAD) \ | 91 | || (CONFIG_KEYPAD == SANSA_CLIP_PAD) \ |
92 | || (CONFIG_KEYPAD == CREATIVEZVM_PAD) | 92 | || (CONFIG_KEYPAD == CREATIVEZVM_PAD) \ |
93 | || (CONFIG_KEYPAD == SANSA_M200_PAD) | ||
93 | { PLA_UP, BUTTON_UP, BUTTON_NONE}, | 94 | { PLA_UP, BUTTON_UP, BUTTON_NONE}, |
94 | { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE}, | 95 | { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE}, |
95 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, | 96 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, |
@@ -189,7 +190,8 @@ const struct button_mapping generic_left_right_fire[] = | |||
189 | || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \ | 190 | || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \ |
190 | || (CONFIG_KEYPAD == MROBE100_PAD) \ | 191 | || (CONFIG_KEYPAD == MROBE100_PAD) \ |
191 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \ | 192 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \ |
192 | || (CONFIG_KEYPAD == SANSA_CLIP_PAD) | 193 | || (CONFIG_KEYPAD == SANSA_CLIP_PAD) \ |
194 | || (CONFIG_KEYPAD == SANSA_M200_PAD) | ||
193 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, | 195 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, |
194 | { PLA_RIGHT, BUTTON_RIGHT, BUTTON_NONE}, | 196 | { PLA_RIGHT, BUTTON_RIGHT, BUTTON_NONE}, |
195 | { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE}, | 197 | { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE}, |
@@ -369,7 +371,9 @@ const struct button_mapping generic_actions[] = | |||
369 | {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, | 371 | {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, |
370 | {PLA_FIRE, BUTTON_SELECT, BUTTON_NONE}, | 372 | {PLA_FIRE, BUTTON_SELECT, BUTTON_NONE}, |
371 | {PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, | 373 | {PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, |
372 | #elif CONFIG_KEYPAD == SANSA_C200_PAD || CONFIG_KEYPAD == SANSA_CLIP_PAD | 374 | #elif CONFIG_KEYPAD == SANSA_C200_PAD || \ |
375 | CONFIG_KEYPAD == SANSA_CLIP_PAD || \ | ||
376 | CONFIG_KEYPAD == SANSA_M200_PAD | ||
373 | {PLA_QUIT, BUTTON_POWER, BUTTON_NONE}, | 377 | {PLA_QUIT, BUTTON_POWER, BUTTON_NONE}, |
374 | {PLA_START, BUTTON_UP, BUTTON_NONE}, | 378 | {PLA_START, BUTTON_UP, BUTTON_NONE}, |
375 | {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, | 379 | {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, |
@@ -455,7 +459,8 @@ const struct button_mapping generic_increase_decrease[] = | |||
455 | || (CONFIG_KEYPAD == MROBE100_PAD) \ | 459 | || (CONFIG_KEYPAD == MROBE100_PAD) \ |
456 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \ | 460 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \ |
457 | || (CONFIG_KEYPAD == SANSA_CLIP_PAD) \ | 461 | || (CONFIG_KEYPAD == SANSA_CLIP_PAD) \ |
458 | || (CONFIG_KEYPAD == CREATIVEZVM_PAD) | 462 | || (CONFIG_KEYPAD == CREATIVEZVM_PAD) \ |
463 | || (CONFIG_KEYPAD == SANSA_M200_PAD) | ||
459 | {PLA_INC, BUTTON_UP, BUTTON_NONE}, | 464 | {PLA_INC, BUTTON_UP, BUTTON_NONE}, |
460 | {PLA_DEC, BUTTON_DOWN, BUTTON_NONE}, | 465 | {PLA_DEC, BUTTON_DOWN, BUTTON_NONE}, |
461 | {PLA_INC_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE}, | 466 | {PLA_INC_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE}, |