PDBox: Added iriver H100 to supported targets.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22168 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Wincent Balin 2009-08-05 13:21:08 +00:00
parent 349db581b5
commit 54ba851670
2 changed files with 14 additions and 5 deletions

View file

@ -50,13 +50,13 @@ doom
#if CONFIG_CODEC == SWCODEC
midi
/* beatbox */
#ifndef RB_PROFILE
#if MEMORYSIZE > 2 /* mpegplayer allocates at least 2MB of RAM */
mpegplayer
#if defined(IRIVER_H300_SERIES)
#if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES)
/* PDBox is confirmed to run on these player models. */
pdbox
#endif
#ifndef RB_PROFILE
#if MEMORYSIZE > 2 /* mpegplayer allocates at least 2MB of RAM */
mpegplayer
#endif
#endif
#endif

View file

@ -253,7 +253,16 @@ enum pd_key_id
#define PDPOD_WHEELLEFT (BUTTON_DOWN)
#define PDPOD_WHEELRIGHT (BUTTON_UP)
#define PDPOD_ACTION (BUTTON_MODE)
/* #elif defined(IRIVER_H100_SERIES) */
#elif defined(IRIVER_H100_SERIES)
/* Added by wincent */
#define PDPOD_QUIT (BUTTON_OFF)
#define PDPOD_PLAY (BUTTON_REC)
#define PDPOD_PREVIOUS (BUTTON_LEFT)
#define PDPOD_NEXT (BUTTON_RIGHT)
#define PDPOD_MENU (BUTTON_SELECT)
#define PDPOD_WHEELLEFT (BUTTON_DOWN)
#define PDPOD_WHEELRIGHT (BUTTON_UP)
#define PDPOD_ACTION (BUTTON_ON)
#else
#warning "No keys defined for this architecture!"
#endif