summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/SUBDIRS3
-rw-r--r--apps/plugins/pdbox/pdbox.h9
2 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS
index b74d3fad30..1d0bfe9cc1 100644
--- a/apps/plugins/SUBDIRS
+++ b/apps/plugins/SUBDIRS
@@ -73,7 +73,8 @@ midi
73#endif 73#endif
74 74
75/* beatbox */ 75/* beatbox */
76#if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES) 76#if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES) \
77 || CONFIG_KEYPAD == SANSA_FUZE_PAD
77/* PDBox is confirmed to run on these player models. */ 78/* PDBox is confirmed to run on these player models. */
78pdbox 79pdbox
79#endif 80#endif
diff --git a/apps/plugins/pdbox/pdbox.h b/apps/plugins/pdbox/pdbox.h
index 3fa8ff0042..e0a0fb59c7 100644
--- a/apps/plugins/pdbox/pdbox.h
+++ b/apps/plugins/pdbox/pdbox.h
@@ -245,6 +245,15 @@ enum pd_key_id
245 #define PDPOD_WHEELLEFT (BUTTON_DOWN) 245 #define PDPOD_WHEELLEFT (BUTTON_DOWN)
246 #define PDPOD_WHEELRIGHT (BUTTON_UP) 246 #define PDPOD_WHEELRIGHT (BUTTON_UP)
247 #define PDPOD_ACTION (BUTTON_ON) 247 #define PDPOD_ACTION (BUTTON_ON)
248#elif CONFIG_KEYPAD == SANSA_FUZE_PAD
249 #define PDPOD_QUIT (BUTTON_HOME|BUTTON_REPEAT)
250 #define PDPOD_PLAY BUTTON_UP
251 #define PDPOD_PREVIOUS BUTTON_LEFT
252 #define PDPOD_NEXT BUTTON_RIGHT
253 #define PDPOD_MENU BUTTON_SELECT
254 #define PDPOD_WHEELLEFT BUTTON_SCROLL_BACK
255 #define PDPOD_WHEELRIGHT BUTTON_SCROLL_FWD
256 #define PDPOD_ACTION BUTTON_DOWN
248#else 257#else
249 #warning "No keys defined for this architecture!" 258 #warning "No keys defined for this architecture!"
250#endif 259#endif