diff options
Diffstat (limited to 'apps/plugins/oscilloscope.c')
-rw-r--r-- | apps/plugins/oscilloscope.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/oscilloscope.c b/apps/plugins/oscilloscope.c index 07c40c2b4e..85cbf2bfb2 100644 --- a/apps/plugins/oscilloscope.c +++ b/apps/plugins/oscilloscope.c | |||
@@ -493,6 +493,17 @@ | |||
493 | #define OSCILLOSCOPE_ORIENTATION BUTTON_TOPLEFT | 493 | #define OSCILLOSCOPE_ORIENTATION BUTTON_TOPLEFT |
494 | #define OSCILLOSCOPE_GRAPHMODE BUTTON_BOTTOMLEFT | 494 | #define OSCILLOSCOPE_GRAPHMODE BUTTON_BOTTOMLEFT |
495 | 495 | ||
496 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
497 | #define OSCILLOSCOPE_QUIT BUTTON_POWER | ||
498 | #define OSCILLOSCOPE_DRAWMODE (BUTTON_SELECT|BUTTON_UP) | ||
499 | #define OSCILLOSCOPE_ADVMODE BUTTON_DOWN | ||
500 | #define OSCILLOSCOPE_ORIENTATION BUTTON_UP | ||
501 | #define OSCILLOSCOPE_PAUSE BUTTON_SELECT | ||
502 | #define OSCILLOSCOPE_SPEED_UP BUTTON_RIGHT | ||
503 | #define OSCILLOSCOPE_SPEED_DOWN BUTTON_LEFT | ||
504 | #define OSCILLOSCOPE_VOL_UP BUTTON_VOLUP | ||
505 | #define OSCILLOSCOPE_VOL_DOWN BUTTON_VOLDOWN | ||
506 | |||
496 | #else | 507 | #else |
497 | #error No keymap defined! | 508 | #error No keymap defined! |
498 | #endif | 509 | #endif |