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/mpegplayer/mpegplayer.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/mpegplayer/mpegplayer.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 056b46c7a1..07cf8ba8e2 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c | |||
@@ -432,6 +432,15 @@ CONFIG_KEYPAD == SANSA_M200_PAD | |||
432 | #define MPEG_PAUSE BUTTON_MENU | 432 | #define MPEG_PAUSE BUTTON_MENU |
433 | #define MPEG_STOP (BUTTON_MENU|BUTTON_REPEAT) | 433 | #define MPEG_STOP (BUTTON_MENU|BUTTON_REPEAT) |
434 | 434 | ||
435 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
436 | #define MPEG_MENU BUTTON_POWER | ||
437 | #define MPEG_PAUSE BUTTON_SELECT | ||
438 | #define MPEG_STOP BUTTON_DOWN | ||
439 | #define MPEG_VOLDOWN BUTTON_VOLDOWN | ||
440 | #define MPEG_VOLUP BUTTON_VOLUP | ||
441 | #define MPEG_RW BUTTON_LEFT | ||
442 | #define MPEG_FF BUTTON_RIGHT | ||
443 | |||
435 | #else | 444 | #else |
436 | #error No keymap defined! | 445 | #error No keymap defined! |
437 | #endif | 446 | #endif |