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:
parent
b8d35c042d
commit
fb93c99ce8
3 changed files with 22 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue