diff options
author | Jean-Louis Biasini <jlbiasini@gmail.com> | 2012-03-16 16:41:07 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-10-27 09:24:57 -0400 |
commit | fb93c99ce8c7a2a8b50b163af6183b5fbb606623 (patch) | |
tree | 198543f07ad9a08f27dc38967df4a2e99fb1db54 /apps/plugins/pdbox | |
parent | b8d35c042de327a7ac5b35496283cdc2ab22d991 (diff) | |
download | rockbox-fb93c99ce8c7a2a8b50b163af6183b5fbb606623.tar.gz rockbox-fb93c99ce8c7a2a8b50b163af6183b5fbb606623.zip |
Fuze+: add pdbox plugin
1) Set the compiler to include pdbox
2) Set the keymaps
Change-Id: I75cf9b57ac977f7c727a28a3ed6883f65c5bbb20
Diffstat (limited to 'apps/plugins/pdbox')
-rw-r--r-- | apps/plugins/pdbox/pdbox.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/pdbox/pdbox.h b/apps/plugins/pdbox/pdbox.h index 7f7c4754e0..711d663da9 100644 --- a/apps/plugins/pdbox/pdbox.h +++ b/apps/plugins/pdbox/pdbox.h | |||
@@ -299,6 +299,15 @@ enum pd_key_id | |||
299 | #define PDPOD_WHEELLEFT BUTTON_UP | 299 | #define PDPOD_WHEELLEFT BUTTON_UP |
300 | #define PDPOD_WHEELRIGHT BUTTON_DOWN | 300 | #define PDPOD_WHEELRIGHT BUTTON_DOWN |
301 | #define PDPOD_ACTION BUTTON_SELECT | 301 | #define PDPOD_ACTION BUTTON_SELECT |
302 | #elif (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) | ||
303 | #define PDPOD_QUIT BUTTON_POWER | ||
304 | #define PDPOD_PLAY BUTTON_PLAYPAUSE | ||
305 | #define PDPOD_PREVIOUS BUTTON_LEFT | ||
306 | #define PDPOD_NEXT BUTTON_RIGHT | ||
307 | #define PDPOD_MENU BUTTON_BACK | ||
308 | #define PDPOD_WHEELLEFT BUTTON_UP | ||
309 | #define PDPOD_WHEELRIGHT BUTTON_DOWN | ||
310 | #define PDPOD_ACTION BUTTON_SELECT | ||
302 | #else | 311 | #else |
303 | #warning "No keys defined for this architecture!" | 312 | #warning "No keys defined for this architecture!" |
304 | #endif | 313 | #endif |