From fb93c99ce8c7a2a8b50b163af6183b5fbb606623 Mon Sep 17 00:00:00 2001 From: Jean-Louis Biasini Date: Fri, 16 Mar 2012 16:41:07 +0100 Subject: Fuze+: add pdbox plugin 1) Set the compiler to include pdbox 2) Set the keymaps Change-Id: I75cf9b57ac977f7c727a28a3ed6883f65c5bbb20 --- apps/plugins/pdbox/pdbox.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/pdbox/pdbox.h') 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 #define PDPOD_WHEELLEFT BUTTON_UP #define PDPOD_WHEELRIGHT BUTTON_DOWN #define PDPOD_ACTION BUTTON_SELECT +#elif (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD) + #define PDPOD_QUIT BUTTON_POWER + #define PDPOD_PLAY BUTTON_PLAYPAUSE + #define PDPOD_PREVIOUS BUTTON_LEFT + #define PDPOD_NEXT BUTTON_RIGHT + #define PDPOD_MENU BUTTON_BACK + #define PDPOD_WHEELLEFT BUTTON_UP + #define PDPOD_WHEELRIGHT BUTTON_DOWN + #define PDPOD_ACTION BUTTON_SELECT #else #warning "No keys defined for this architecture!" #endif -- cgit v1.2.3