summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorWincent Balin <wincent@rockbox.org>2009-08-05 13:21:08 +0000
committerWincent Balin <wincent@rockbox.org>2009-08-05 13:21:08 +0000
commit54ba851670bf166bf924a640738873299cf89b62 (patch)
tree0d720af0ff56e9b8d9312c5f24e7bd3d9c733e1c /apps
parent349db581b5b20edd34cba511ffbada38d7de8a42 (diff)
downloadrockbox-54ba851670bf166bf924a640738873299cf89b62.tar.gz
rockbox-54ba851670bf166bf924a640738873299cf89b62.tar.bz2
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')
-rw-r--r--apps/plugins/SUBDIRS8
-rw-r--r--apps/plugins/pdbox/pdbox.h11
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
#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
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
#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