diff options
Diffstat (limited to 'apps/plugins/lib/pluginlib_actions.h')
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.h b/apps/plugins/lib/pluginlib_actions.h index cc5f8b4eb8..51a0f4a84a 100644 --- a/apps/plugins/lib/pluginlib_actions.h +++ b/apps/plugins/lib/pluginlib_actions.h | |||
@@ -38,27 +38,26 @@ enum { | |||
38 | PLA_LEFT_REPEAT, | 38 | PLA_LEFT_REPEAT, |
39 | PLA_RIGHT_REPEAT, | 39 | PLA_RIGHT_REPEAT, |
40 | 40 | ||
41 | PLA_INC, | 41 | PLA_CANCEL, |
42 | PLA_DEC, | 42 | PLA_EXIT, |
43 | PLA_INC_REPEAT, | 43 | PLA_SELECT, |
44 | PLA_DEC_REPEAT, | 44 | PLA_SELECT_REL, |
45 | PLA_SELECT_REPEAT, | ||
45 | 46 | ||
46 | PLA_QUIT, | 47 | #ifdef HAVE_SCROLLWHEEL |
47 | PLA_START, | 48 | PLA_SCROLL_FWD, |
48 | PLA_MENU, | 49 | PLA_SCROLL_FWD_REPEAT, |
49 | PLA_FIRE, | 50 | PLA_SCROLL_BACK, |
50 | PLA_FIRE_REPEAT, | 51 | PLA_SCROLL_BACK_REPEAT, |
52 | #endif | ||
51 | 53 | ||
52 | LAST_PLUGINLIB_ACTION | 54 | LAST_PLUGINLIB_ACTION |
53 | }; | 55 | }; |
54 | 56 | ||
55 | #if defined(HAVE_REMOTE_LCD) | 57 | #if defined(HAVE_REMOTE_LCD) |
56 | extern const struct button_mapping remote_directions[]; | 58 | extern const struct button_mapping pla_remote_ctx[]; |
57 | #endif | 59 | #endif |
58 | extern const struct button_mapping generic_directions[]; | 60 | extern const struct button_mapping pla_main_ctx[]; |
59 | extern const struct button_mapping generic_left_right_fire[]; | ||
60 | extern const struct button_mapping generic_actions[]; | ||
61 | extern const struct button_mapping generic_increase_decrease[]; | ||
62 | 61 | ||
63 | int pluginlib_getaction(int timeout, | 62 | int pluginlib_getaction(int timeout, |
64 | const struct button_mapping *plugin_contexts[], | 63 | const struct button_mapping *plugin_contexts[], |