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/goban | |
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/goban')
-rw-r--r-- | apps/plugins/goban/goban.h | 35 |
1 files changed, 11 insertions, 24 deletions
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h index c6a10e3944..db70216464 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h | |||
@@ -443,19 +443,7 @@ | |||
443 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT | 443 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT |
444 | #define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_PWRALT | 444 | #define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_PWRALT |
445 | 445 | ||
446 | #elif (CONFIG_KEYPAD == XDUOO_X3II_PAD) | 446 | #elif (CONFIG_KEYPAD == XDUOO_X3II_PAD) || (CONFIG_KEYPAD == XDUOO_X20_PAD) |
447 | #define GBN_BUTTON_UP BUTTON_HOME | ||
448 | #define GBN_BUTTON_DOWN BUTTON_OPTION | ||
449 | #define GBN_BUTTON_LEFT BUTTON_PREV | ||
450 | #define GBN_BUTTON_RIGHT BUTTON_NEXT | ||
451 | #define GBN_BUTTON_RETREAT BUTTON_VOL_DOWN | ||
452 | #define GBN_BUTTON_ADVANCE BUTTON_VOL_UP | ||
453 | #define GBN_BUTTON_MENU BUTTON_POWER | ||
454 | #define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_REL | ||
455 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT | ||
456 | #define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_POWER | ||
457 | |||
458 | #elif (CONFIG_KEYPAD == XDUOO_X20_PAD) | ||
459 | #define GBN_BUTTON_UP BUTTON_HOME | 447 | #define GBN_BUTTON_UP BUTTON_HOME |
460 | #define GBN_BUTTON_DOWN BUTTON_OPTION | 448 | #define GBN_BUTTON_DOWN BUTTON_OPTION |
461 | #define GBN_BUTTON_LEFT BUTTON_PREV | 449 | #define GBN_BUTTON_LEFT BUTTON_PREV |
@@ -479,7 +467,7 @@ | |||
479 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT | 467 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT |
480 | #define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_POWER | 468 | #define GBN_BUTTON_NEXT_VAR BUTTON_HOME | BUTTON_POWER |
481 | 469 | ||
482 | #elif (CONFIG_KEYPAD == IHIFI_770_PAD) | 470 | #elif (CONFIG_KEYPAD == IHIFI_770_PAD) || (CONFIG_KEYPAD == IHIFI_800_PAD) |
483 | 471 | ||
484 | #define GBN_BUTTON_UP BUTTON_PREV | 472 | #define GBN_BUTTON_UP BUTTON_PREV |
485 | #define GBN_BUTTON_DOWN BUTTON_NEXT | 473 | #define GBN_BUTTON_DOWN BUTTON_NEXT |
@@ -492,18 +480,17 @@ | |||
492 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT | 480 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT |
493 | #define GBN_BUTTON_NEXT_VAR BUTTON_POWER | BUTTON_HOME | 481 | #define GBN_BUTTON_NEXT_VAR BUTTON_POWER | BUTTON_HOME |
494 | 482 | ||
495 | #elif (CONFIG_KEYPAD == IHIFI_800_PAD) | 483 | #elif (CONFIG_KEYPAD == EROSQ_PAD) |
496 | |||
497 | #define GBN_BUTTON_UP BUTTON_PREV | 484 | #define GBN_BUTTON_UP BUTTON_PREV |
498 | #define GBN_BUTTON_DOWN BUTTON_NEXT | 485 | #define GBN_BUTTON_DOWN BUTTON_NEXT |
499 | #define GBN_BUTTON_LEFT BUTTON_HOME | 486 | #define GBN_BUTTON_LEFT BUTTON_SCROLL_BACK |
500 | #define GBN_BUTTON_RIGHT BUTTON_VOL_DOWN | 487 | #define GBN_BUTTON_RIGHT BUTTON_SCROLL_FWD |
501 | #define GBN_BUTTON_RETREAT BUTTON_POWER | BUTTON_VOL_DOWN | 488 | #define GBN_BUTTON_RETREAT BUTTON_VOL_DOWN |
502 | #define GBN_BUTTON_ADVANCE BUTTON_POWER | BUTTON_VOL_UP | 489 | #define GBN_BUTTON_ADVANCE BUTTON_VOL_UP |
503 | #define GBN_BUTTON_MENU BUTTON_POWER | 490 | #define GBN_BUTTON_MENU BUTTON_MENU |
504 | #define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_REL | 491 | #define GBN_BUTTON_PLAY BUTTON_PLAY |
505 | #define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT | 492 | #define GBN_BUTTON_CONTEXT BUTTON_MENU | BUTTON_REPEAT |
506 | #define GBN_BUTTON_NEXT_VAR BUTTON_POWER | BUTTON_HOME | 493 | #define GBN_BUTTON_NEXT_VAR BUTTON_BACK |
507 | 494 | ||
508 | #else | 495 | #else |
509 | #error Unsupported keypad | 496 | #error Unsupported keypad |