diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-03-02 21:53:55 +0100 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | fbb6a2ff6d751adaaef73a86a98700f91571d0a1 (patch) | |
tree | e4bf533e945a03887620361ad110b3612321d67d /apps/plugins/oscilloscope.c | |
parent | 0538ba3d59a1a29adcee0b4656b204fda102ad89 (diff) | |
download | rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.tar.gz rockbox-fbb6a2ff6d751adaaef73a86a98700f91571d0a1.zip |
Agptek Rocker: Build plugins
Patch provided by Aapo Tahkola.
Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
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 |