diff options
-rw-r--r-- | apps/plugins/SUBDIRS | 2 | ||||
-rw-r--r-- | apps/plugins/pdbox/pdbox.h | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/apps/plugins/SUBDIRS b/apps/plugins/SUBDIRS index 414ae46123..c28adfbdd7 100644 --- a/apps/plugins/SUBDIRS +++ b/apps/plugins/SUBDIRS @@ -72,7 +72,7 @@ midi /* beatbox */ #if defined(IRIVER_H300_SERIES) || defined(IRIVER_H100_SERIES) || \ - (CONFIG_KEYPAD == SANSA_FUZE_PAD) || \ + (CONFIG_KEYPAD == SANSA_FUZE_PAD) || (CONFIG_KEYPAD == SANSA_E200_PAD) || \ (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ (CONFIG_KEYPAD == IPOD_1G2G_PAD) /* PDBox is confirmed to run on these player models. */ diff --git a/apps/plugins/pdbox/pdbox.h b/apps/plugins/pdbox/pdbox.h index cf46e4835a..56ad568a3b 100644 --- a/apps/plugins/pdbox/pdbox.h +++ b/apps/plugins/pdbox/pdbox.h @@ -262,6 +262,15 @@ enum pd_key_id #define PDPOD_WHEELLEFT BUTTON_SCROLL_BACK #define PDPOD_WHEELRIGHT BUTTON_SCROLL_FWD #define PDPOD_ACTION BUTTON_DOWN +#elif (CONFIG_KEYPAD == SANSA_E200_PAD) + #define PDPOD_QUIT (BUTTON_POWER|BUTTON_REPEAT) + #define PDPOD_PLAY BUTTON_UP + #define PDPOD_PREVIOUS BUTTON_LEFT + #define PDPOD_NEXT BUTTON_RIGHT + #define PDPOD_MENU BUTTON_DOWN + #define PDPOD_WHEELLEFT BUTTON_SCROLL_BACK + #define PDPOD_WHEELRIGHT BUTTON_SCROLL_FWD + #define PDPOD_ACTION BUTTON_SELECT #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ (CONFIG_KEYPAD == IPOD_1G2G_PAD) /* Added by wincent */ |