diff options
Diffstat (limited to 'apps/plugins/lib/pluginlib_actions.c')
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index 2f550f817c..f9addb32f4 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c | |||
@@ -123,7 +123,8 @@ const struct button_mapping pla_main_ctx[] = | |||
123 | || (CONFIG_KEYPAD == HM60X_PAD) \ | 123 | || (CONFIG_KEYPAD == HM60X_PAD) \ |
124 | || (CONFIG_KEYPAD == HM801_PAD) \ | 124 | || (CONFIG_KEYPAD == HM801_PAD) \ |
125 | || (CONFIG_KEYPAD == SONY_NWZ_PAD) \ | 125 | || (CONFIG_KEYPAD == SONY_NWZ_PAD) \ |
126 | || (CONFIG_KEYPAD == CREATIVE_ZEN_PAD)) | 126 | || (CONFIG_KEYPAD == CREATIVE_ZEN_PAD) \ |
127 | || (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD)) | ||
127 | { PLA_UP, BUTTON_UP, BUTTON_NONE }, | 128 | { PLA_UP, BUTTON_UP, BUTTON_NONE }, |
128 | { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE }, | 129 | { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE }, |
129 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE }, | 130 | { PLA_LEFT, BUTTON_LEFT, BUTTON_NONE }, |
@@ -422,6 +423,12 @@ const struct button_mapping pla_main_ctx[] = | |||
422 | {PLA_SELECT, BUTTON_SELECT, BUTTON_NONE}, | 423 | {PLA_SELECT, BUTTON_SELECT, BUTTON_NONE}, |
423 | {PLA_SELECT_REL, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT}, | 424 | {PLA_SELECT_REL, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT}, |
424 | {PLA_SELECT_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, | 425 | {PLA_SELECT_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, |
426 | #elif (CONFIG_KEYPAD == AGPTEK_ROCKER_PAD) | ||
427 | {PLA_CANCEL, BUTTON_VOLUP, BUTTON_NONE}, | ||
428 | {PLA_EXIT, BUTTON_POWER, BUTTON_NONE}, | ||
429 | {PLA_SELECT, BUTTON_SELECT, BUTTON_NONE}, | ||
430 | {PLA_SELECT_REL, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT}, | ||
431 | {PLA_SELECT_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, | ||
425 | #elif (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD) | 432 | #elif (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD) |
426 | {PLA_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_NONE}, | 433 | {PLA_CANCEL, BUTTON_POWER|BUTTON_REL, BUTTON_NONE}, |
427 | {PLA_EXIT, BUTTON_POWER|BUTTON_REPEAT, BUTTON_NONE}, | 434 | {PLA_EXIT, BUTTON_POWER|BUTTON_REPEAT, BUTTON_NONE}, |