diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2009-03-30 20:51:48 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2009-03-30 20:51:48 +0000 |
commit | 8739af490e03e243848720c5987f566a56479136 (patch) | |
tree | 82950e26fce88807d4cd6926724fa8b7c97d2a88 | |
parent | 487d78995a4fad7fa0cf5700c0752fbc279b5746 (diff) | |
download | rockbox-8739af490e03e243848720c5987f566a56479136.tar.gz 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.c | 9 |
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) | |||
271 | #define DOOMBUTTON_WEAPON BUTTON_RC_MENU | 271 | #define DOOMBUTTON_WEAPON BUTTON_RC_MENU |
272 | #elif CONFIG_KEYPAD == COWOND2_PAD | 272 | #elif CONFIG_KEYPAD == COWOND2_PAD |
273 | #define DOOMBUTTON_ESC BUTTON_POWER | 273 | #define DOOMBUTTON_ESC BUTTON_POWER |
274 | #define DOOMBUTTON_SHOOT BUTTON_PLUS | ||
275 | #define DOOMBUTTON_WEAPON BUTTON_MINUS | ||
276 | #define DOOMBUTTON_MAP BUTTON_MENU | ||
274 | #elif CONFIG_KEYPAD == MROBE100_PAD | 277 | #elif CONFIG_KEYPAD == MROBE100_PAD |
275 | #define DOOMBUTTON_UP BUTTON_UP | 278 | #define DOOMBUTTON_UP BUTTON_UP |
276 | #define DOOMBUTTON_DOWN BUTTON_DOWN | 279 | #define DOOMBUTTON_DOWN BUTTON_DOWN |
@@ -330,7 +333,7 @@ void I_ShutdownGraphics(void) | |||
330 | #define DOOMBUTTON_RIGHT BUTTON_MIDRIGHT | 333 | #define DOOMBUTTON_RIGHT BUTTON_MIDRIGHT |
331 | #endif | 334 | #endif |
332 | #ifndef DOOMBUTTON_SHOOT | 335 | #ifndef DOOMBUTTON_SHOOT |
333 | #define DOOMBUTTON_SHOOT BUTTON_CENTER | 336 | #define DOOMBUTTON_SHOOT BUTTON_BOTTOMRIGHT |
334 | #endif | 337 | #endif |
335 | #ifndef DOOMBUTTON_OPEN | 338 | #ifndef DOOMBUTTON_OPEN |
336 | #define DOOMBUTTON_OPEN BUTTON_TOPRIGHT | 339 | #define DOOMBUTTON_OPEN BUTTON_TOPRIGHT |
@@ -339,10 +342,10 @@ void I_ShutdownGraphics(void) | |||
339 | #define DOOMBUTTON_ESC BUTTON_TOPLEFT | 342 | #define DOOMBUTTON_ESC BUTTON_TOPLEFT |
340 | #endif | 343 | #endif |
341 | #ifndef DOOMBUTTON_ENTER | 344 | #ifndef DOOMBUTTON_ENTER |
342 | #define DOOMBUTTON_ENTER BUTTON_BOTTOMLEFT | 345 | #define DOOMBUTTON_ENTER BUTTON_CENTER |
343 | #endif | 346 | #endif |
344 | #ifndef DOOMBUTTON_WEAPON | 347 | #ifndef DOOMBUTTON_WEAPON |
345 | #define DOOMBUTTON_WEAPON BUTTON_BOTTOMRIGHT | 348 | #define DOOMBUTTON_WEAPON BUTTON_BOTTOMLEFT |
346 | #endif | 349 | #endif |
347 | #endif | 350 | #endif |
348 | 351 | ||