diff options
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 |