diff options
Diffstat (limited to 'apps/plugins/rockblox.c')
-rw-r--r-- | apps/plugins/rockblox.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c index 14ded91961..a0814beda1 100644 --- a/apps/plugins/rockblox.c +++ b/apps/plugins/rockblox.c | |||
@@ -470,6 +470,16 @@ | |||
470 | #define ROCKBLOX_OFF BUTTON_POWER | 470 | #define ROCKBLOX_OFF BUTTON_POWER |
471 | #define ROCKBLOX_ROTATE BUTTON_MENU | 471 | #define ROCKBLOX_ROTATE BUTTON_MENU |
472 | 472 | ||
473 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
474 | #define ROCKBLOX_OFF BUTTON_POWER | ||
475 | #define ROCKBLOX_LEFT BUTTON_LEFT | ||
476 | #define ROCKBLOX_RIGHT BUTTON_RIGHT | ||
477 | #define ROCKBLOX_DROP BUTTON_UP | ||
478 | #define ROCKBLOX_RESTART (BUTTON_SELECT|BUTTON_LEFT) | ||
479 | #define ROCKBLOX_ROTATE_CW BUTTON_VOLUP | ||
480 | #define ROCKBLOX_ROTATE_CCW BUTTON_VOLDOWN | ||
481 | #define ROCKBLOX_DOWN BUTTON_DOWN | ||
482 | |||
473 | #else | 483 | #else |
474 | #error No keymap defined! | 484 | #error No keymap defined! |
475 | #endif | 485 | #endif |