diff options
author | Wincent Balin <wincent@rockbox.org> | 2009-08-05 13:21:08 +0000 |
---|---|---|
committer | Wincent Balin <wincent@rockbox.org> | 2009-08-05 13:21:08 +0000 |
commit | 54ba851670bf166bf924a640738873299cf89b62 (patch) | |
tree | 0d720af0ff56e9b8d9312c5f24e7bd3d9c733e1c /apps/plugins | |
parent | 349db581b5b20edd34cba511ffbada38d7de8a42 (diff) | |
download | rockbox-54ba851670bf166bf924a640738873299cf89b62.tar.gz rockbox-54ba851670bf166bf924a640738873299cf89b62.zip |
PDBox: Added iriver H100 to supported targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22168 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/SUBDIRS | 8 | ||||
-rw-r--r-- | apps/plugins/pdbox/pdbox.h | 11 |
2 files changed, 14 insertions, 5 deletions
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index 6416cab234..587050fb94 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS | |||
@@ -50,13 +50,13 @@ doom | |||
50 | #if CONFIG_CODEC == SWCODEC | 50 | #if CONFIG_CODEC == SWCODEC |
51 | midi | 51 | midi |
52 | /* beatbox */ | 52 | /* beatbox */ |
53 | #ifndef RB_PROFILE | 53 | #if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES) |
54 | #if MEMORYSIZE > 2 /* mpegplayer allocates at least 2MB of RAM */ | ||
55 | mpegplayer | ||
56 | #if defined(IRIVER_H300_SERIES) | ||
57 | /* PDBox is confirmed to run on these player models. */ | 54 | /* PDBox is confirmed to run on these player models. */ |
58 | pdbox | 55 | pdbox |
59 | #endif | 56 | #endif |
57 | #ifndef RB_PROFILE | ||
58 | #if MEMORYSIZE > 2 /* mpegplayer allocates at least 2MB of RAM */ | ||
59 | mpegplayer | ||
60 | #endif | 60 | #endif |
61 | #endif | 61 | #endif |
62 | #endif | 62 | #endif |
diff --git a/apps/plugins/pdbox/pdbox.h b/apps/plugins/pdbox/pdbox.h index 5f30013fad..a8ae466675 100644 --- a/apps/plugins/pdbox/pdbox.h +++ b/apps/plugins/pdbox/pdbox.h | |||
@@ -253,7 +253,16 @@ enum pd_key_id | |||
253 | #define PDPOD_WHEELLEFT (BUTTON_DOWN) | 253 | #define PDPOD_WHEELLEFT (BUTTON_DOWN) |
254 | #define PDPOD_WHEELRIGHT (BUTTON_UP) | 254 | #define PDPOD_WHEELRIGHT (BUTTON_UP) |
255 | #define PDPOD_ACTION (BUTTON_MODE) | 255 | #define PDPOD_ACTION (BUTTON_MODE) |
256 | /* #elif defined(IRIVER_H100_SERIES) */ | 256 | #elif defined(IRIVER_H100_SERIES) |
257 | /* Added by wincent */ | ||
258 | #define PDPOD_QUIT (BUTTON_OFF) | ||
259 | #define PDPOD_PLAY (BUTTON_REC) | ||
260 | #define PDPOD_PREVIOUS (BUTTON_LEFT) | ||
261 | #define PDPOD_NEXT (BUTTON_RIGHT) | ||
262 | #define PDPOD_MENU (BUTTON_SELECT) | ||
263 | #define PDPOD_WHEELLEFT (BUTTON_DOWN) | ||
264 | #define PDPOD_WHEELRIGHT (BUTTON_UP) | ||
265 | #define PDPOD_ACTION (BUTTON_ON) | ||
257 | #else | 266 | #else |
258 | #warning "No keys defined for this architecture!" | 267 | #warning "No keys defined for this architecture!" |
259 | #endif | 268 | #endif |