1
0
Fork 0
forked from len0rd/rockbox

Fuze+: add pdbox plugin

1) Set the compiler to include pdbox
2) Set the keymaps

Change-Id: I75cf9b57ac977f7c727a28a3ed6883f65c5bbb20
This commit is contained in:
Jean-Louis Biasini 2012-03-16 16:41:07 +01:00 committed by Solomon Peachy
parent b8d35c042d
commit fb93c99ce8
3 changed files with 22 additions and 5 deletions

View file

@ -106,10 +106,14 @@
#define BTN_UP BUTTON_UP
#define BTN_DOWN BUTTON_DOWN
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
#define BTN_QUIT BUTTON_POWER
#define BTN_RIGHT BUTTON_RIGHT
#define BTN_UP BUTTON_UP
#define BTN_DOWN BUTTON_DOWN
#endif
#define FRACTSIZE 10
#ifndef SIMULATOR
@ -216,10 +220,13 @@ int quit=0;
#define BEATBOX_RIGHT BUTTON_RIGHT
#define BEATBOX_SELECT BUTTON_SELECT
#if (CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD)
#define BEATBOX_PLAY BUTTON_PLAYPAUSE
#define BEATBOX_STOP BUTTON_BACK
#else
#define BEATBOX_PLAY BUTTON_ON
#define BEATBOX_STOP BUTTON_OFF
#endif
#define VAL_NONE 0
#define VAL_ENABLED 1