diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-03 18:17:11 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-09 12:41:18 -0400 |
commit | aabc8aca47e60cf745a34af28c50679fcb967910 (patch) | |
tree | cfe17f546aae9785fb13482f39527e2da0597ccb /apps/plugins/rockboy | |
parent | 4231c2c83f2b5331e3e38b10a308ee3752315f9c (diff) | |
download | rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.tar.gz rockbox-aabc8aca47e60cf745a34af28c50679fcb967910.zip |
New port: FiiO M3K
Most credit goes to: Roman Skylarov
Additional integration and refactoring by myself.
*** COMPLETELY UNTESTED ***
Change-Id: Ia64c36d92e0214c6b15f7a868df286f8113ea27b
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 29269f18fb..c96946cf7d 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c | |||
@@ -445,6 +445,16 @@ static void setoptions (void) | |||
445 | options.SELECT = BUTTON_VOL_UP; | 445 | options.SELECT = BUTTON_VOL_UP; |
446 | options.MENU = BUTTON_POWER; | 446 | options.MENU = BUTTON_POWER; |
447 | 447 | ||
448 | #elif CONFIG_KEYPAD == FIIO_M3K_PAD | ||
449 | options.UP = BUTTON_PREV; | ||
450 | options.DOWN = BUTTON_NEXT; | ||
451 | |||
452 | options.A = BUTTON_HOME; | ||
453 | options.B = BUTTON_OPTION; | ||
454 | options.START = BUTTON_VOL_DOWN; | ||
455 | options.SELECT = BUTTON_VOL_UP; | ||
456 | options.MENU = BUTTON_POWER; | ||
457 | |||
448 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 458 | #elif CONFIG_KEYPAD == IHIFI_770_PAD |
449 | options.UP = BUTTON_PREV; | 459 | options.UP = BUTTON_PREV; |
450 | options.DOWN = BUTTON_NEXT; | 460 | options.DOWN = BUTTON_NEXT; |