diff options
Diffstat (limited to 'apps/plugins/lib/pluginlib_actions.c')
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index d277fe6d0d..e74ffc0315 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c | |||
@@ -130,6 +130,15 @@ const struct button_mapping generic_directions[] = | |||
130 | { PLA_DOWN_REPEAT, BUTTON_RC_DOWN|BUTTON_REPEAT, BUTTON_NONE}, | 130 | { PLA_DOWN_REPEAT, BUTTON_RC_DOWN|BUTTON_REPEAT, BUTTON_NONE}, |
131 | { PLA_LEFT_REPEAT, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE}, | 131 | { PLA_LEFT_REPEAT, BUTTON_RC_REW|BUTTON_REPEAT, BUTTON_NONE}, |
132 | { PLA_RIGHT_REPEAT, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE}, | 132 | { PLA_RIGHT_REPEAT, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE}, |
133 | #elif (CONFIG_KEYPAD == COWOND2_PAD) | ||
134 | { PLA_UP, BUTTON_UP, BUTTON_NONE}, | ||
135 | { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE}, | ||
136 | { PLA_LEFT, BUTTON_UP, BUTTON_MENU}, | ||
137 | { PLA_RIGHT, BUTTON_DOWN, BUTTON_MENU}, | ||
138 | { PLA_UP_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE}, | ||
139 | { PLA_DOWN_REPEAT, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE}, | ||
140 | { PLA_LEFT_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_MENU}, | ||
141 | { PLA_RIGHT_REPEAT, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_MENU}, | ||
133 | #else | 142 | #else |
134 | #error pluginlib_actions: Unsupported keypad | 143 | #error pluginlib_actions: Unsupported keypad |
135 | #endif | 144 | #endif |
@@ -209,6 +218,13 @@ const struct button_mapping generic_left_right_fire[] = | |||
209 | { PLA_RIGHT_REPEAT, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE}, | 218 | { PLA_RIGHT_REPEAT, BUTTON_RC_FF|BUTTON_REPEAT, BUTTON_NONE}, |
210 | { PLA_FIRE, BUTTON_RC_HEART, BUTTON_NONE}, | 219 | { PLA_FIRE, BUTTON_RC_HEART, BUTTON_NONE}, |
211 | { PLA_FIRE_REPEAT, BUTTON_RC_HEART|BUTTON_REPEAT, BUTTON_NONE}, | 220 | { PLA_FIRE_REPEAT, BUTTON_RC_HEART|BUTTON_REPEAT, BUTTON_NONE}, |
221 | #elif (CONFIG_KEYPAD == COWOND2_PAD) | ||
222 | { PLA_LEFT, BUTTON_UP, BUTTON_NONE}, | ||
223 | { PLA_RIGHT, BUTTON_DOWN, BUTTON_NONE}, | ||
224 | { PLA_LEFT_REPEAT, BUTTON_UP|BUTTON_REPEAT, BUTTON_NONE}, | ||
225 | { PLA_RIGHT_REPEAT, BUTTON_DOWN|BUTTON_REPEAT, BUTTON_NONE}, | ||
226 | { PLA_FIRE, BUTTON_MENU, BUTTON_NONE}, | ||
227 | { PLA_FIRE_REPEAT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE}, | ||
212 | #else | 228 | #else |
213 | #error pluginlib_actions: Unsupported keypad | 229 | #error pluginlib_actions: Unsupported keypad |
214 | #endif | 230 | #endif |
@@ -307,6 +323,12 @@ const struct button_mapping generic_actions[] = | |||
307 | {PLA_MENU, BUTTON_RC_MODE, BUTTON_NONE}, | 323 | {PLA_MENU, BUTTON_RC_MODE, BUTTON_NONE}, |
308 | {PLA_FIRE, BUTTON_RC_HEART, BUTTON_NONE}, | 324 | {PLA_FIRE, BUTTON_RC_HEART, BUTTON_NONE}, |
309 | {PLA_FIRE_REPEAT, BUTTON_RC_HEART|BUTTON_REPEAT, BUTTON_NONE}, | 325 | {PLA_FIRE_REPEAT, BUTTON_RC_HEART|BUTTON_REPEAT, BUTTON_NONE}, |
326 | #elif (CONFIG_KEYPAD == COWOND2_PAD) | ||
327 | {PLA_QUIT, BUTTON_POWER, BUTTON_NONE}, | ||
328 | {PLA_START, BUTTON_UP, BUTTON_NONE}, | ||
329 | {PLA_MENU, BUTTON_DOWN, BUTTON_NONE}, | ||
330 | {PLA_FIRE, BUTTON_MENU, BUTTON_NONE}, | ||
331 | {PLA_FIRE_REPEAT, BUTTON_MENU|BUTTON_REPEAT, BUTTON_NONE}, | ||
310 | #else | 332 | #else |
311 | #error pluginlib_actions: Unsupported keypad | 333 | #error pluginlib_actions: Unsupported keypad |
312 | #endif | 334 | #endif |