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/fractals | |
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/fractals')
-rw-r--r-- | apps/plugins/fractals/fractal.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/apps/plugins/fractals/fractal.h b/apps/plugins/fractals/fractal.h index 5a56a39b13..679782d37a 100644 --- a/apps/plugins/fractals/fractal.h +++ b/apps/plugins/fractals/fractal.h | |||
@@ -496,6 +496,30 @@ | |||
496 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) | 496 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) |
497 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) | 497 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) |
498 | 498 | ||
499 | #elif CONFIG_KEYPAD == XDUOO_X3II_PAD | ||
500 | #define FRACTAL_QUIT BUTTON_POWER | ||
501 | #define FRACTAL_UP BUTTON_HOME | ||
502 | #define FRACTAL_DOWN BUTTON_OPTION | ||
503 | #define FRACTAL_LEFT BUTTON_PREV | ||
504 | #define FRACTAL_RIGHT BUTTON_NEXT | ||
505 | #define FRACTAL_ZOOM_IN BUTTON_VOL_UP | ||
506 | #define FRACTAL_ZOOM_OUT BUTTON_VOL_DOWN | ||
507 | #define FRACTAL_PRECISION_INC (BUTTON_PLAY | BUTTON_NEXT) | ||
508 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) | ||
509 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) | ||
510 | |||
511 | #elif CONFIG_KEYPAD == XDUOO_X20_PAD | ||
512 | #define FRACTAL_QUIT BUTTON_POWER | ||
513 | #define FRACTAL_UP BUTTON_HOME | ||
514 | #define FRACTAL_DOWN BUTTON_OPTION | ||
515 | #define FRACTAL_LEFT BUTTON_PREV | ||
516 | #define FRACTAL_RIGHT BUTTON_NEXT | ||
517 | #define FRACTAL_ZOOM_IN BUTTON_VOL_UP | ||
518 | #define FRACTAL_ZOOM_OUT BUTTON_VOL_DOWN | ||
519 | #define FRACTAL_PRECISION_INC (BUTTON_PLAY | BUTTON_NEXT) | ||
520 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) | ||
521 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) | ||
522 | |||
499 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 523 | #elif CONFIG_KEYPAD == IHIFI_770_PAD |
500 | #define FRACTAL_QUIT BUTTON_POWER | 524 | #define FRACTAL_QUIT BUTTON_POWER |
501 | #define FRACTAL_UP BUTTON_PREV | 525 | #define FRACTAL_UP BUTTON_PREV |