diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-08 09:47:40 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-11 16:37:17 -0400 |
commit | 2a471e288c16b91a7186a60b3fb84dd55a494c7a (patch) | |
tree | 3e746212c5fa69b59f61d19b6e29d11aa8a5e31b /apps/plugins/fractals | |
parent | 5efaa9ef8073bb216e3dcdbb4476f2fa7c672b76 (diff) | |
download | rockbox-2a471e288c16b91a7186a60b3fb84dd55a494c7a.tar.gz rockbox-2a471e288c16b91a7186a60b3fb84dd55a494c7a.zip |
New port: AIGO EROS Q / EROS K
The Q and K have a slightly different case, but the hardware under the
shell is completely identical.
These models are rebadged versions:
* Hifiwalker H2 (== Q)
* AGPTek H3 (== K)
* Surfans F20 (== K)
Other notes:
* Significant improvements in the shared Hiby-platform launcher/loader
* SD card can theoretically be hot-swapped now
* Support external USB mass storage!
* Some consolidation of Hiby-platform targets
* Some consolidation of plugin keymaps
Todo/known issues:
* Keymaps need to be gone over properly
* Convert to HAVE_SCROLLWHEEL?
Change-Id: I5a8a4f22c38a5b69392ca7c0a8ad8c4e07d9523c
Diffstat (limited to 'apps/plugins/fractals')
-rw-r--r-- | apps/plugins/fractals/fractal.h | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/apps/plugins/fractals/fractal.h b/apps/plugins/fractals/fractal.h index 45de45c5cd..d4d013550e 100644 --- a/apps/plugins/fractals/fractal.h +++ b/apps/plugins/fractals/fractal.h | |||
@@ -458,19 +458,7 @@ | |||
458 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) | 458 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) |
459 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) | 459 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) |
460 | 460 | ||
461 | #elif CONFIG_KEYPAD == XDUOO_X3II_PAD | 461 | #elif CONFIG_KEYPAD == XDUOO_X3II_PAD || CONFIG_KEYPAD == XDUOO_X20_PAD |
462 | #define FRACTAL_QUIT BUTTON_POWER | ||
463 | #define FRACTAL_UP BUTTON_HOME | ||
464 | #define FRACTAL_DOWN BUTTON_OPTION | ||
465 | #define FRACTAL_LEFT BUTTON_PREV | ||
466 | #define FRACTAL_RIGHT BUTTON_NEXT | ||
467 | #define FRACTAL_ZOOM_IN BUTTON_VOL_UP | ||
468 | #define FRACTAL_ZOOM_OUT BUTTON_VOL_DOWN | ||
469 | #define FRACTAL_PRECISION_INC (BUTTON_PLAY | BUTTON_NEXT) | ||
470 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) | ||
471 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) | ||
472 | |||
473 | #elif CONFIG_KEYPAD == XDUOO_X20_PAD | ||
474 | #define FRACTAL_QUIT BUTTON_POWER | 462 | #define FRACTAL_QUIT BUTTON_POWER |
475 | #define FRACTAL_UP BUTTON_HOME | 463 | #define FRACTAL_UP BUTTON_HOME |
476 | #define FRACTAL_DOWN BUTTON_OPTION | 464 | #define FRACTAL_DOWN BUTTON_OPTION |
@@ -494,7 +482,7 @@ | |||
494 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) | 482 | #define FRACTAL_PRECISION_DEC (BUTTON_PLAY | BUTTON_PREV) |
495 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) | 483 | #define FRACTAL_RESET (BUTTON_HOME | BUTTON_POWER) |
496 | 484 | ||
497 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 485 | #elif CONFIG_KEYPAD == IHIFI_770_PAD || CONFIG_KEYPAD == IHIFI_800_PAD |
498 | #define FRACTAL_QUIT BUTTON_POWER | 486 | #define FRACTAL_QUIT BUTTON_POWER |
499 | #define FRACTAL_UP BUTTON_PREV | 487 | #define FRACTAL_UP BUTTON_PREV |
500 | #define FRACTAL_DOWN BUTTON_NEXT | 488 | #define FRACTAL_DOWN BUTTON_NEXT |
@@ -506,17 +494,17 @@ | |||
506 | #define FRACTAL_PRECISION_DEC (BUTTON_POWER | BUTTON_PREV) | 494 | #define FRACTAL_PRECISION_DEC (BUTTON_POWER | BUTTON_PREV) |
507 | #define FRACTAL_RESET (BUTTON_POWER | BUTTON_HOME) | 495 | #define FRACTAL_RESET (BUTTON_POWER | BUTTON_HOME) |
508 | 496 | ||
509 | #elif CONFIG_KEYPAD == IHIFI_800_PAD | 497 | #elif CONFIG_KEYPAD == EROSQ_PAD |
510 | #define FRACTAL_QUIT BUTTON_POWER | 498 | #define FRACTAL_QUIT BUTTON_POWER |
511 | #define FRACTAL_UP BUTTON_PREV | 499 | #define FRACTAL_UP BUTTON_PREV |
512 | #define FRACTAL_DOWN BUTTON_NEXT | 500 | #define FRACTAL_DOWN BUTTON_NEXT |
513 | #define FRACTAL_LEFT BUTTON_HOME | 501 | #define FRACTAL_LEFT BUTTON_SCROLL_BACK |
514 | #define FRACTAL_RIGHT BUTTON_VOL_DOWN | 502 | #define FRACTAL_RIGHT BUTTON_SCROLL_FWD |
515 | #define FRACTAL_ZOOM_IN (BUTTON_POWER | BUTTON_VOL_UP) | 503 | #define FRACTAL_ZOOM_IN BUTTON_VOL_UP |
516 | #define FRACTAL_ZOOM_OUT (BUTTON_POWER | BUTTON_VOL_DOWN) | 504 | #define FRACTAL_ZOOM_OUT BUTTON_VOL_DOWN |
517 | #define FRACTAL_PRECISION_INC (BUTTON_POWER | BUTTON_NEXT) | 505 | #define FRACTAL_PRECISION_INC BUTTON_MENU |
518 | #define FRACTAL_PRECISION_DEC (BUTTON_POWER | BUTTON_PREV) | 506 | #define FRACTAL_PRECISION_DEC BUTTON_BACK |
519 | #define FRACTAL_RESET (BUTTON_POWER | BUTTON_HOME) | 507 | #define FRACTAL_RESET BUTTON_PLAY |
520 | 508 | ||
521 | #else | 509 | #else |
522 | #error No keymap defined! | 510 | #error No keymap defined! |
@@ -555,4 +543,3 @@ | |||
555 | #endif | 543 | #endif |
556 | 544 | ||
557 | #endif | 545 | #endif |
558 | |||