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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue