diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:17:25 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-08-03 20:17:25 +0000 |
commit | 1e88be518adafe146704a506aad7f895fffbb240 (patch) | |
tree | 59de8c14bcec054d32b82890f73391301ad152aa /apps/plugins/doom | |
parent | 364e892050c5d03895d27ad290180f7a82d0ecbf (diff) |
Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/doom')
-rw-r--r-- | apps/plugins/doom/i_video.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index f90f7cd82f..d8ed74ce62 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -16,7 +16,10 @@ * GNU General Public License for more details. * * $Log$ - * Revision 1.18 2006/08/02 00:21:59 amiconn + * Revision 1.19 2006/08/03 20:17:22 bagder + * Barry Wardell's keymappings for H10 + * + * Revision 1.18 2006-08-02 00:21:59 amiconn * Grayscale library: LCD linearisation and gamma correction. * * Revision 1.17 2006-04-22 03:48:15 kkurbjun @@ -139,6 +142,16 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_ESC BUTTON_POWER #define DOOMBUTTON_ENTER BUTTON_SELECT #define DOOMBUTTON_WEAPON BUTTON_REC +#elif CONFIG_KEYPAD == IRIVER_H10_PAD +#define DOOMBUTTON_UP BUTTON_SCROLL_UP +#define DOOMBUTTON_DOWN BUTTON_SCROLL_DOWN +#define DOOMBUTTON_LEFT BUTTON_LEFT +#define DOOMBUTTON_RIGHT BUTTON_RIGHT +#define DOOMBUTTON_SHOOT BUTTON_REW +#define DOOMBUTTON_OPEN BUTTON_PLAY +#define DOOMBUTTON_ESC BUTTON_POWER +#define DOOMBUTTON_ENTER BUTTON_PLAY +#define DOOMBUTTON_WEAPON BUTTON_FF #else #define DOOMBUTTON_UP BUTTON_UP #define DOOMBUTTON_DOWN BUTTON_DOWN |