diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-11-30 10:52:14 +0000 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-11-30 10:52:14 +0000 |
commit | dd61702fb0a45167aeba3f3f183b794e47c30f6f (patch) | |
tree | be2389872bfc1ca4106b4c717409fe17d582a6fe /apps/plugins/doom | |
parent | d2ebc534eaba1bcda0ba50250c8c3f6cadfd4ed9 (diff) |
HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r-- | apps/plugins/doom/i_video.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index 92ff065535..d9472663c4 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -391,6 +391,17 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_ESC BUTTON_REC #define DOOMBUTTON_ENTER BUTTON_PLAY #define DOOMBUTTON_WEAPON (BUTTON_PLAY|BUTTON_REPEAT) +#elif CONFIG_KEYPAD == MPIO_HD300_PAD +#define DOOMBUTTON_UP BUTTON_UP +#define DOOMBUTTON_DOWN BUTTON_DOWN +#define DOOMBUTTON_LEFT BUTTON_REW +#define DOOMBUTTON_RIGHT BUTTON_FF +#define DOOMBUTTON_SHOOT BUTTON_ENTER +#define DOOMBUTTON_OPEN BUTTON_MENU +#define DOOMBUTTON_ESC BUTTON_REC +#define DOOMBUTTON_ENTER BUTTON_PLAY +#define DOOMBUTTON_WEAPON (BUTTON_PLAY|BUTTON_REPEAT) + #else #error Keymap not defined! #endif |