diff options
Diffstat (limited to 'apps/plugins/doom/i_video.c')
-rw-r--r-- | apps/plugins/doom/i_video.c | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index 1b07a8f0d4..9d9e4bb111 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -214,16 +214,26 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_WEAPON BUTTON_VOL_DOWN #define DOOMBUTTON_MAP BUTTON_VOL_UP #elif CONFIG_KEYPAD == MROBE500_PAD -#define DOOMBUTTON_ESC BUTTON_POWER +#define DOOMBUTTON_ESC BUTTON_POWER #define DOOMBUTTON_UP BUTTON_RC_PLAY #define DOOMBUTTON_DOWN BUTTON_RC_DOWN #define DOOMBUTTON_LEFT BUTTON_RC_REW #define DOOMBUTTON_RIGHT BUTTON_RC_FF -#define DOOMBUTTON_OPEN BUTTON_RC_VOL_DOWN -#define DOOMBUTTON_SHOOT BUTTON_RC_VOL_UP -#define DOOMBUTTON_ENTER BUTTON_RC_MODE -#define DOOMBUTTON_WEAPON BUTTON_RC_HEART - +#define DOOMBUTTON_OPEN BUTTON_RC_VOL_DOWN +#define DOOMBUTTON_SHOOT BUTTON_RC_VOL_UP +#define DOOMBUTTON_ENTER BUTTON_RC_MODE +#define DOOMBUTTON_WEAPON BUTTON_RC_HEART +#elif CONFIG_KEYPAD == IRIVER_H100_PAD || \ + CONFIG_KEYPAD == IRIVER_H300_PAD +#define DOOMBUTTON_UP BUTTON_UP +#define DOOMBUTTON_DOWN BUTTON_DOWN +#define DOOMBUTTON_LEFT BUTTON_LEFT +#define DOOMBUTTON_RIGHT BUTTON_RIGHT +#define DOOMBUTTON_SHOOT BUTTON_REC +#define DOOMBUTTON_OPEN BUTTON_MODE +#define DOOMBUTTON_ESC BUTTON_OFF +#define DOOMBUTTON_ENTER BUTTON_SELECT +#define DOOMBUTTON_WEAPON BUTTON_ON #else #error Keymap not defined! #endif |