mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
xDuoo X3II and X20 port
Provided by Roman Stolyarov Integration, Refactoring, and Upstreaming by Solomon Peachy X3II confirmed working by forum tester, X20 is nearly identical. This includes bootloader, main firmware, and the flash image patcher. Eventual Todo: * Further refactor AGPTek Rocker & xduoo hiby bootloaders * Further refactor AGPTek Rocker & xduoo hosted platform code Change-Id: I34a674051d368efcc75d1d18c725971fe46c3eee
This commit is contained in:
parent
ced3a20aac
commit
180cef835b
88 changed files with 3334 additions and 45 deletions
|
@ -417,6 +417,32 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
# define MINESWP_DISCOVER2 BUTTON_VOL_UP
|
||||
# define MINESWP_INFO (BUTTON_PLAY | BUTTON_OPTION)
|
||||
|
||||
#elif (CONFIG_KEYPAD == XDUOO_X3II_PAD)
|
||||
# define MINESWP_LEFT BUTTON_PREV
|
||||
# define MINESWP_RIGHT BUTTON_NEXT
|
||||
# define MINESWP_UP BUTTON_HOME
|
||||
# define MINESWP_DOWN BUTTON_OPTION
|
||||
# define MINESWP_QUIT BUTTON_POWER
|
||||
# define MINESWP_TOGGLE_PRE BUTTON_PLAY
|
||||
# define MINESWP_TOGGLE (BUTTON_PLAY | BUTTON_REL)
|
||||
# define MINESWP_TOGGLE2 BUTTON_VOL_DOWN
|
||||
# define MINESWP_DISCOVER (BUTTON_PLAY | BUTTON_REPEAT)
|
||||
# define MINESWP_DISCOVER2 BUTTON_VOL_UP
|
||||
# define MINESWP_INFO (BUTTON_PLAY | BUTTON_OPTION)
|
||||
|
||||
#elif (CONFIG_KEYPAD == XDUOO_X20_PAD)
|
||||
# define MINESWP_LEFT BUTTON_PREV
|
||||
# define MINESWP_RIGHT BUTTON_NEXT
|
||||
# define MINESWP_UP BUTTON_HOME
|
||||
# define MINESWP_DOWN BUTTON_OPTION
|
||||
# define MINESWP_QUIT BUTTON_POWER
|
||||
# define MINESWP_TOGGLE_PRE BUTTON_PLAY
|
||||
# define MINESWP_TOGGLE (BUTTON_PLAY | BUTTON_REL)
|
||||
# define MINESWP_TOGGLE2 BUTTON_VOL_DOWN
|
||||
# define MINESWP_DISCOVER (BUTTON_PLAY | BUTTON_REPEAT)
|
||||
# define MINESWP_DISCOVER2 BUTTON_VOL_UP
|
||||
# define MINESWP_INFO (BUTTON_PLAY | BUTTON_OPTION)
|
||||
|
||||
#elif (CONFIG_KEYPAD == IHIFI_770_PAD)
|
||||
# define MINESWP_LEFT BUTTON_HOME
|
||||
# define MINESWP_RIGHT BUTTON_VOL_DOWN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue