diff options
Diffstat (limited to 'apps/plugins/lib')
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index 550cd56d48..e870c79b9c 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c | |||
@@ -71,7 +71,7 @@ const struct button_mapping remote_directions[] = | |||
71 | #else | 71 | #else |
72 | #error pluginlib_actions: Unsupported remote keypad | 72 | #error pluginlib_actions: Unsupported remote keypad |
73 | #endif | 73 | #endif |
74 | {CONTEXT_CUSTOM,BUTTON_NONE,BUTTON_NONE} | 74 | {CONTEXT_PLUGIN,BUTTON_NONE,BUTTON_NONE} |
75 | }; | 75 | }; |
76 | #endif /* HAVE_REMOTE_LCD */ | 76 | #endif /* HAVE_REMOTE_LCD */ |
77 | 77 | ||
@@ -174,7 +174,7 @@ const struct button_mapping generic_directions[] = | |||
174 | #else | 174 | #else |
175 | #error pluginlib_actions: Unsupported keypad | 175 | #error pluginlib_actions: Unsupported keypad |
176 | #endif | 176 | #endif |
177 | {CONTEXT_CUSTOM,BUTTON_NONE,BUTTON_NONE} | 177 | {CONTEXT_PLUGIN,BUTTON_NONE,BUTTON_NONE} |
178 | }; | 178 | }; |
179 | 179 | ||
180 | const struct button_mapping generic_left_right_fire[] = | 180 | const struct button_mapping generic_left_right_fire[] = |
@@ -296,7 +296,7 @@ const struct button_mapping generic_left_right_fire[] = | |||
296 | #else | 296 | #else |
297 | #error pluginlib_actions: Unsupported keypad | 297 | #error pluginlib_actions: Unsupported keypad |
298 | #endif | 298 | #endif |
299 | {CONTEXT_CUSTOM,BUTTON_NONE,BUTTON_NONE} | 299 | {CONTEXT_PLUGIN,BUTTON_NONE,BUTTON_NONE} |
300 | }; | 300 | }; |
301 | 301 | ||
302 | /* these were taken from the bubbles plugin, so may need tweaking */ | 302 | /* these were taken from the bubbles plugin, so may need tweaking */ |
@@ -457,7 +457,7 @@ const struct button_mapping generic_actions[] = | |||
457 | #else | 457 | #else |
458 | #error pluginlib_actions: Unsupported keypad | 458 | #error pluginlib_actions: Unsupported keypad |
459 | #endif | 459 | #endif |
460 | {CONTEXT_CUSTOM,BUTTON_NONE,BUTTON_NONE} | 460 | {CONTEXT_PLUGIN,BUTTON_NONE,BUTTON_NONE} |
461 | }; | 461 | }; |
462 | 462 | ||
463 | const struct button_mapping generic_increase_decrease[] = | 463 | const struct button_mapping generic_increase_decrease[] = |
@@ -537,7 +537,7 @@ const struct button_mapping generic_increase_decrease[] = | |||
537 | #else | 537 | #else |
538 | #error pluginlib_actions: Unsupported keypad | 538 | #error pluginlib_actions: Unsupported keypad |
539 | #endif | 539 | #endif |
540 | {CONTEXT_CUSTOM,BUTTON_NONE,BUTTON_NONE} | 540 | {CONTEXT_PLUGIN,BUTTON_NONE,BUTTON_NONE} |
541 | }; | 541 | }; |
542 | 542 | ||
543 | static struct button_mapping **plugin_context_order; | 543 | static struct button_mapping **plugin_context_order; |
@@ -560,5 +560,5 @@ int pluginlib_getaction(int timeout, | |||
560 | plugin_context_order = (struct button_mapping **)plugin_contexts; | 560 | plugin_context_order = (struct button_mapping **)plugin_contexts; |
561 | plugin_context_count = count; | 561 | plugin_context_count = count; |
562 | last_context = 0; | 562 | last_context = 0; |
563 | return rb->get_custom_action(CONTEXT_CUSTOM,timeout,get_context_map); | 563 | return rb->get_custom_action(CONTEXT_PLUGIN,timeout,get_context_map); |
564 | } | 564 | } |