diff options
author | Wincent Balin <wincent@rockbox.org> | 2010-07-05 01:31:57 +0000 |
---|---|---|
committer | Wincent Balin <wincent@rockbox.org> | 2010-07-05 01:31:57 +0000 |
commit | d5342fd129b9a1c4a8849930b37d01698b3214be (patch) | |
tree | 08b9fe0b9d0c75a3d8f112ba5fe00a4ffad91409 /apps/plugins | |
parent | 53425ad60449d837df1e2230d28ea6e88d06bc94 (diff) |
pdbox: Added Sansa e200 to supported devices.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27287 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-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 */ |