summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox
diff options
context:
space:
mode:
authorWincent Balin <wincent@rockbox.org>2010-07-05 01:31:57 +0000
committerWincent Balin <wincent@rockbox.org>2010-07-05 01:31:57 +0000
commitd5342fd129b9a1c4a8849930b37d01698b3214be (patch)
tree08b9fe0b9d0c75a3d8f112ba5fe00a4ffad91409 /apps/plugins/pdbox
parent53425ad60449d837df1e2230d28ea6e88d06bc94 (diff)
downloadrockbox-d5342fd129b9a1c4a8849930b37d01698b3214be.tar.gz
rockbox-d5342fd129b9a1c4a8849930b37d01698b3214be.tar.bz2
rockbox-d5342fd129b9a1c4a8849930b37d01698b3214be.zip
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/pdbox')
-rw-r--r--apps/plugins/pdbox/pdbox.h9
1 files changed, 9 insertions, 0 deletions
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 */