summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-03-30 20:51:48 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-03-30 20:51:48 +0000
commit8739af490e03e243848720c5987f566a56479136 (patch)
tree82950e26fce88807d4cd6926724fa8b7c97d2a88
parent487d78995a4fad7fa0cf5700c0752fbc279b5746 (diff)
downloadrockbox-8739af490e03e243848720c5987f566a56479136.tar.gz
rockbox-8739af490e03e243848720c5987f566a56479136.tar.bz2
rockbox-8739af490e03e243848720c5987f566a56479136.zip
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
-rw-r--r--apps/plugins/doom/i_video.c9
1 files 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