diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-23 18:27:30 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-06-23 18:27:30 +0000 |
commit | 8f28c0443cb0c4834e80082a5f77927bab2de937 (patch) | |
tree | dc3b42bc370f57961baed80714e446a4cb8ffcee /apps/plugins | |
parent | e39f4098f21ddb5105867cb6183c8df8102c9231 (diff) |
Build doom on clipv2 and clip+
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27093 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/SUBDIRS | 6 | ||||
-rw-r--r-- | apps/plugins/doom/i_video.c | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index 4074177ce2..414ae46123 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS @@ -57,9 +57,9 @@ zxbox pacbox #endif -#if (defined(HAVE_LCD_COLOR) || defined(MROBE_100) || \ - (LCD_DEPTH == 2) && !defined(ARCHOS_AV300)) && (MEMORYSIZE > 2) && \ - !defined(RB_PROFILE) +#if (defined(HAVE_LCD_COLOR) || defined(MROBE_100) || defined(SANSA_CLIPPLUS) \ + || defined(SANSA_CLIPV2) || (LCD_DEPTH == 2)) \ + && (MEMORYSIZE > 2 && !defined(RB_PROFILE)) doom #endif diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index dc0374f852..e7f8e9014b 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -222,6 +222,16 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_ESC BUTTON_POWER #define DOOMBUTTON_ENTER BUTTON_SELECT #define DOOMBUTTON_WEAPON BUTTON_VOL_UP +#elif CONFIG_KEYPAD == SANSA_CLIP_PAD +#define DOOMBUTTON_UP BUTTON_UP +#define DOOMBUTTON_DOWN BUTTON_DOWN +#define DOOMBUTTON_LEFT BUTTON_LEFT +#define DOOMBUTTON_RIGHT BUTTON_RIGHT +#define DOOMBUTTON_SHOOT BUTTON_SELECT +#define DOOMBUTTON_OPEN BUTTON_HOME +#define DOOMBUTTON_ESC BUTTON_POWER +#define DOOMBUTTON_ENTER BUTTON_SELECT +#define DOOMBUTTON_WEAPON BUTTON_VOL_UP #elif CONFIG_KEYPAD == GIGABEAT_PAD #define DOOMBUTTON_UP BUTTON_UP #define DOOMBUTTON_DOWN BUTTON_DOWN |