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/wormlet.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/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index 33076df57e..f1ccaec782 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -384,6 +384,15 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
384 | #define BTN_STARTPAUSE BUTTON_MENU | 384 | #define BTN_STARTPAUSE BUTTON_MENU |
385 | #define BTN_STOPRESET (BUTTON_MENU|BUTTON_REPEAT) | 385 | #define BTN_STOPRESET (BUTTON_MENU|BUTTON_REPEAT) |
386 | 386 | ||
387 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
388 | #define BTN_DIR_UP BUTTON_UP | ||
389 | #define BTN_DIR_DOWN BUTTON_DOWN | ||
390 | #define BTN_DIR_LEFT BUTTON_LEFT | ||
391 | #define BTN_DIR_RIGHT BUTTON_RIGHT | ||
392 | #define BTN_STARTPAUSE BUTTON_SELECT | ||
393 | #define BTN_QUIT BUTTON_POWER | ||
394 | #define BTN_STOPRESET (BUTTON_SELECT|BUTTON_REPEAT) | ||
395 | |||
387 | #else | 396 | #else |
388 | #error No keymap defined! | 397 | #error No keymap defined! |
389 | #endif | 398 | #endif |