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
This commit is contained in:
Rob Purchase 2009-03-30 20:51:48 +00:00
parent 487d78995a
commit 8739af490e

View file

@ -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