summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/pluginlib_actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lib/pluginlib_actions.c')
-rw-r--r--apps/plugins/lib/pluginlib_actions.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c
index 9505668d7f..b351955e9c 100644
--- a/apps/plugins/lib/pluginlib_actions.c
+++ b/apps/plugins/lib/pluginlib_actions.c
@@ -118,6 +118,7 @@ const struct button_mapping pla_main_ctx[] =
118 || (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) \ 118 || (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) \
119 || (CONFIG_KEYPAD == SANSA_CONNECT_PAD) \ 119 || (CONFIG_KEYPAD == SANSA_CONNECT_PAD) \
120 || (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) \ 120 || (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD) \
121 || (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD) \
121 || (CONFIG_KEYPAD == HM60X_PAD) \ 122 || (CONFIG_KEYPAD == HM60X_PAD) \
122 || (CONFIG_KEYPAD == HM801_PAD)) 123 || (CONFIG_KEYPAD == HM801_PAD))
123 { PLA_UP, BUTTON_UP, BUTTON_NONE }, 124 { PLA_UP, BUTTON_UP, BUTTON_NONE },
@@ -417,6 +418,12 @@ const struct button_mapping pla_main_ctx[] =
417 {PLA_SELECT, BUTTON_SELECT, BUTTON_NONE}, 418 {PLA_SELECT, BUTTON_SELECT, BUTTON_NONE},
418 {PLA_SELECT_REL, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT}, 419 {PLA_SELECT_REL, BUTTON_SELECT|BUTTON_REL, BUTTON_SELECT},
419 {PLA_SELECT_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE}, 420 {PLA_SELECT_REPEAT, BUTTON_SELECT|BUTTON_REPEAT, BUTTON_NONE},
421#elif (CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD)
422 {PLA_CANCEL, BUTTON_VOL_DOWN, BUTTON_NONE},
423 {PLA_EXIT, BUTTON_POWER, BUTTON_NONE},
424 {PLA_SELECT, BUTTON_VOL_UP, BUTTON_NONE},
425 {PLA_SELECT_REL, BUTTON_VOL_UP|BUTTON_REL, BUTTON_VOL_UP},
426 {PLA_SELECT_REPEAT, BUTTON_VOL_UP|BUTTON_REPEAT, BUTTON_NONE},
420#else 427#else
421# ifndef HAVE_TOUCHSCREEN 428# ifndef HAVE_TOUCHSCREEN
422# error pluginlib_actions: No actions defined 429# error pluginlib_actions: No actions defined