diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-11-05 13:01:55 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-04-06 18:15:41 +0200 |
commit | 180cef835bf40d0081895773aaa637ac926bb0ac (patch) | |
tree | 48c380d76c0ea40931cb5e863b40fc5dfa1ecba4 /apps/plugins/rockboy | |
parent | ced3a20aacf26642ccc3ffd136f64247c67e5769 (diff) | |
download | rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.tar.gz rockbox-180cef835bf40d0081895773aaa637ac926bb0ac.zip |
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
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 8886793ab7..f188dc1e24 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c | |||
@@ -433,6 +433,26 @@ static void setoptions (void) | |||
433 | options.SELECT = BUTTON_VOL_UP; | 433 | options.SELECT = BUTTON_VOL_UP; |
434 | options.MENU = BUTTON_POWER; | 434 | options.MENU = BUTTON_POWER; |
435 | 435 | ||
436 | #elif CONFIG_KEYPAD == XDUOO_X3II_PAD | ||
437 | options.UP = BUTTON_PREV; | ||
438 | options.DOWN = BUTTON_NEXT; | ||
439 | |||
440 | options.A = BUTTON_HOME; | ||
441 | options.B = BUTTON_OPTION; | ||
442 | options.START = BUTTON_VOL_DOWN; | ||
443 | options.SELECT = BUTTON_VOL_UP; | ||
444 | options.MENU = BUTTON_POWER; | ||
445 | |||
446 | #elif CONFIG_KEYPAD == XDUOO_X20_PAD | ||
447 | options.UP = BUTTON_PREV; | ||
448 | options.DOWN = BUTTON_NEXT; | ||
449 | |||
450 | options.A = BUTTON_HOME; | ||
451 | options.B = BUTTON_OPTION; | ||
452 | options.START = BUTTON_VOL_DOWN; | ||
453 | options.SELECT = BUTTON_VOL_UP; | ||
454 | options.MENU = BUTTON_POWER; | ||
455 | |||
436 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 456 | #elif CONFIG_KEYPAD == IHIFI_770_PAD |
437 | options.UP = BUTTON_PREV; | 457 | options.UP = BUTTON_PREV; |
438 | options.DOWN = BUTTON_NEXT; | 458 | options.DOWN = BUTTON_NEXT; |