From 8739af490e03e243848720c5987f566a56479136 Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Mon, 30 Mar 2009 20:51:48 +0000 Subject: [PATCH] Some tweaks to the Doom keymap for D2/touchscreen targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20584 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/i_video.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index dae2e48069..98666dda5f 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -271,6 +271,9 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_WEAPON BUTTON_RC_MENU #elif CONFIG_KEYPAD == COWOND2_PAD #define DOOMBUTTON_ESC BUTTON_POWER +#define DOOMBUTTON_SHOOT BUTTON_PLUS +#define DOOMBUTTON_WEAPON BUTTON_MINUS +#define DOOMBUTTON_MAP BUTTON_MENU #elif CONFIG_KEYPAD == MROBE100_PAD #define DOOMBUTTON_UP BUTTON_UP #define DOOMBUTTON_DOWN BUTTON_DOWN @@ -330,7 +333,7 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_RIGHT BUTTON_MIDRIGHT #endif #ifndef DOOMBUTTON_SHOOT -#define DOOMBUTTON_SHOOT BUTTON_CENTER +#define DOOMBUTTON_SHOOT BUTTON_BOTTOMRIGHT #endif #ifndef DOOMBUTTON_OPEN #define DOOMBUTTON_OPEN BUTTON_TOPRIGHT @@ -339,10 +342,10 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_ESC BUTTON_TOPLEFT #endif #ifndef DOOMBUTTON_ENTER -#define DOOMBUTTON_ENTER BUTTON_BOTTOMLEFT +#define DOOMBUTTON_ENTER BUTTON_CENTER #endif #ifndef DOOMBUTTON_WEAPON -#define DOOMBUTTON_WEAPON BUTTON_BOTTOMRIGHT +#define DOOMBUTTON_WEAPON BUTTON_BOTTOMLEFT #endif #endif