summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/pluginlib_actions.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c
index 26ef590522..a8a4e9c2c3 100644
--- a/apps/plugins/lib/pluginlib_actions.c
+++ b/apps/plugins/lib/pluginlib_actions.c
@@ -87,7 +87,8 @@ const struct button_mapping generic_directions[] =
87 || (CONFIG_KEYPAD == SANSA_C200_PAD) \ 87 || (CONFIG_KEYPAD == SANSA_C200_PAD) \
88 || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \ 88 || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \
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 { PLA_UP, BUTTON_UP, BUTTON_NONE}, 92 { PLA_UP, BUTTON_UP, BUTTON_NONE},
92 { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE}, 93 { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE},
93 { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, 94 { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE},
@@ -186,7 +187,8 @@ const struct button_mapping generic_left_right_fire[] =
186 || (CONFIG_KEYPAD == IRIVER_IFP7XX_PAD) \ 187 || (CONFIG_KEYPAD == IRIVER_IFP7XX_PAD) \
187 || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \ 188 || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \
188 || (CONFIG_KEYPAD == MROBE100_PAD) \ 189 || (CONFIG_KEYPAD == MROBE100_PAD) \
189 || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) 190 || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \
191 || (CONFIG_KEYPAD == SANSA_CLIP_PAD)
190 { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE}, 192 { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE},
191 { PLA_RIGHT, BUTTON_RIGHT, BUTTON_NONE}, 193 { PLA_RIGHT, BUTTON_RIGHT, BUTTON_NONE},
192 { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE}, 194 { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE},
@@ -359,7 +361,7 @@ const struct button_mapping generic_actions[] =
359 {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, 361 {PLA_MENU, BUTTON_DOWN, BUTTON_NONE},
360 {PLA_FIRE, BUTTON_SELECT, BUTTON_NONE}, 362 {PLA_FIRE, BUTTON_SELECT, BUTTON_NONE},
361 {PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, 363 {PLA_FIRE_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE},
362#elif CONFIG_KEYPAD == SANSA_C200_PAD 364#elif CONFIG_KEYPAD == SANSA_C200_PAD || CONFIG_KEYPAD == SANSA_CLIP_PAD
363 {PLA_QUIT, BUTTON_POWER, BUTTON_NONE}, 365 {PLA_QUIT, BUTTON_POWER, BUTTON_NONE},
364 {PLA_START, BUTTON_UP, BUTTON_NONE}, 366 {PLA_START, BUTTON_UP, BUTTON_NONE},
365 {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, 367 {PLA_MENU, BUTTON_DOWN, BUTTON_NONE},
@@ -437,7 +439,8 @@ const struct button_mapping generic_increase_decrease[] =
437 || (CONFIG_KEYPAD == ONDIO_PAD) \ 439 || (CONFIG_KEYPAD == ONDIO_PAD) \
438 || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \ 440 || (CONFIG_KEYPAD == GIGABEAT_S_PAD) \
439 || (CONFIG_KEYPAD == MROBE100_PAD) \ 441 || (CONFIG_KEYPAD == MROBE100_PAD) \
440 || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) 442 || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) \
443 || (CONFIG_KEYPAD == SANSA_CLIP_PAD)
441 {PLA_INC, BUTTON_UP, BUTTON_NONE}, 444 {PLA_INC, BUTTON_UP, BUTTON_NONE},
442 {PLA_DEC, BUTTON_DOWN, BUTTON_NONE}, 445 {PLA_DEC, BUTTON_DOWN, BUTTON_NONE},
443 {PLA_INC_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE}, 446 {PLA_INC_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE},