summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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