summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox
diff options
context:
space:
mode:
authorWincent Balin <wincent@rockbox.org>2009-08-05 13:21:08 +0000
committerWincent Balin <wincent@rockbox.org>2009-08-05 13:21:08 +0000
commit54ba851670bf166bf924a640738873299cf89b62 (patch)
tree0d720af0ff56e9b8d9312c5f24e7bd3d9c733e1c /apps/plugins/pdbox
parent349db581b5b20edd34cba511ffbada38d7de8a42 (diff)
downloadrockbox-54ba851670bf166bf924a640738873299cf89b62.tar.gz
rockbox-54ba851670bf166bf924a640738873299cf89b62.tar.bz2
rockbox-54ba851670bf166bf924a640738873299cf89b62.zip
PDBox: Added iriver H100 to supported targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22168 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox')
-rw-r--r--apps/plugins/pdbox/pdbox.h11
1 files changed, 10 insertions, 1 deletions
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