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/doom/i_video.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/doom/i_video.c')
-rw-r--r-- | apps/plugins/doom/i_video.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index 2a6868778b..5535f08b6e 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c | |||
@@ -543,6 +543,18 @@ void I_ShutdownGraphics(void) | |||
543 | #define DOOMBUTTON_SHOOT BUTTON_MENU | 543 | #define DOOMBUTTON_SHOOT BUTTON_MENU |
544 | #define DOOMBUTTON_MAP BUTTON_TOPLEFT | 544 | #define DOOMBUTTON_MAP BUTTON_TOPLEFT |
545 | 545 | ||
546 | #elif CONFIG_KEYPAD == AGPTEK_ROCKER_PAD | ||
547 | #define DOOMBUTTON_UP BUTTON_UP | ||
548 | #define DOOMBUTTON_DOWN BUTTON_DOWN | ||
549 | #define DOOMBUTTON_LEFT BUTTON_LEFT | ||
550 | #define DOOMBUTTON_RIGHT BUTTON_RIGHT | ||
551 | #define DOOMBUTTON_OPEN BUTTON_VOLDOWN | ||
552 | #define DOOMBUTTON_ESC (BUTTON_POWER|BUTTON_REPEAT) | ||
553 | #define DOOMBUTTON_ENTER BUTTON_SELECT | ||
554 | #define DOOMBUTTON_SHOOT BUTTON_SELECT | ||
555 | #define DOOMBUTTON_WEAPON BUTTON_VOLUP | ||
556 | #define DOOMBUTTON_MAP (BUTTON_VOLUP|BUTTON_REPEAT) | ||
557 | |||
546 | #else | 558 | #else |
547 | #error Keymap not defined! | 559 | #error Keymap not defined! |
548 | #endif | 560 | #endif |