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/rockboy | |
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/rockboy')
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index c96946cf7d..75de5230f2 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c | |||
@@ -425,17 +425,7 @@ static void setoptions (void) | |||
425 | options.SELECT = BUTTON_VOL_UP; | 425 | options.SELECT = BUTTON_VOL_UP; |
426 | options.MENU = BUTTON_POWER; | 426 | options.MENU = BUTTON_POWER; |
427 | 427 | ||
428 | #elif CONFIG_KEYPAD == XDUOO_X3II_PAD | 428 | #elif CONFIG_KEYPAD == XDUOO_X3II_PAD || CONFIG_KEYPAD == XDUOO_X20_PAD |
429 | options.UP = BUTTON_PREV; | ||
430 | options.DOWN = BUTTON_NEXT; | ||
431 | |||
432 | options.A = BUTTON_HOME; | ||
433 | options.B = BUTTON_OPTION; | ||
434 | options.START = BUTTON_VOL_DOWN; | ||
435 | options.SELECT = BUTTON_VOL_UP; | ||
436 | options.MENU = BUTTON_POWER; | ||
437 | |||
438 | #elif CONFIG_KEYPAD == XDUOO_X20_PAD | ||
439 | options.UP = BUTTON_PREV; | 429 | options.UP = BUTTON_PREV; |
440 | options.DOWN = BUTTON_NEXT; | 430 | options.DOWN = BUTTON_NEXT; |
441 | 431 | ||
@@ -455,7 +445,7 @@ static void setoptions (void) | |||
455 | options.SELECT = BUTTON_VOL_UP; | 445 | options.SELECT = BUTTON_VOL_UP; |
456 | options.MENU = BUTTON_POWER; | 446 | options.MENU = BUTTON_POWER; |
457 | 447 | ||
458 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 448 | #elif CONFIG_KEYPAD == IHIFI_770_PAD || CONFIG_KEYPAD == IHIFI_800_PAD |
459 | options.UP = BUTTON_PREV; | 449 | options.UP = BUTTON_PREV; |
460 | options.DOWN = BUTTON_NEXT; | 450 | options.DOWN = BUTTON_NEXT; |
461 | 451 | ||
@@ -465,14 +455,16 @@ static void setoptions (void) | |||
465 | options.SELECT = BUTTON_HOME; | 455 | options.SELECT = BUTTON_HOME; |
466 | options.MENU = BUTTON_POWER; | 456 | options.MENU = BUTTON_POWER; |
467 | 457 | ||
468 | #elif CONFIG_KEYPAD == IHIFI_800_PAD | 458 | #elif CONFIG_KEYPAD == EROSQ_PAD |
469 | options.UP = BUTTON_PREV; | 459 | options.UP = BUTTON_PREV; |
470 | options.DOWN = BUTTON_NEXT; | 460 | options.DOWN = BUTTON_NEXT; |
461 | options.LEFT = BUTTON_SCROLL_BACK; | ||
462 | options.RIGHT = BUTTON_SCROLL_FWD; | ||
471 | 463 | ||
472 | options.A = BUTTON_VOL_UP; | 464 | options.A = BUTTON_MENU; |
473 | options.B = BUTTON_VOL_DOWN; | 465 | options.B = BUTTON_BACK; |
474 | options.START = BUTTON_PLAY; | 466 | options.START = BUTTON_VOL_DOWN; |
475 | options.SELECT = BUTTON_HOME; | 467 | options.SELECT = BUTTON_VOL_UP; |
476 | options.MENU = BUTTON_POWER; | 468 | options.MENU = BUTTON_POWER; |
477 | 469 | ||
478 | #else | 470 | #else |