diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-03-02 21:53:55 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | fbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch) | |
tree | e4bf533e945a03887620361ad110b3612321d67d /apps/plugins/lib/pluginlib_actions.c | |
parent | 0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff) | |
download | rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip |
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola.
Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
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}, |