diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-02-27 22:08:58 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-03-28 00:01:37 +0000 |
commit | 3ec66893e377b088c1284d2d23adb2aeea6d7965 (patch) | |
tree | b647717f83ad56b15dc42cfdef5d04d68cd9bd6b /apps/plugins/star.c | |
parent | 83fcbedc65f4b9ae7e491ecf6f07c0af4b245f74 (diff) | |
download | rockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.tar.gz rockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.zip |
New port: FiiO M3K on bare metal
Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r-- | apps/plugins/star.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c index 9de5032699..c186474ae3 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c | |||
@@ -652,6 +652,22 @@ | |||
652 | #define STAR_LEVEL_DOWN_NAME "VOL DN" | 652 | #define STAR_LEVEL_DOWN_NAME "VOL DN" |
653 | #define STAR_LEVEL_REPEAT_NAME "BACK" | 653 | #define STAR_LEVEL_REPEAT_NAME "BACK" |
654 | 654 | ||
655 | #elif CONFIG_KEYPAD == FIIO_M3K_PAD | ||
656 | #define STAR_QUIT BUTTON_POWER | ||
657 | #define STAR_LEFT BUTTON_LEFT | ||
658 | #define STAR_RIGHT BUTTON_RIGHT | ||
659 | #define STAR_UP BUTTON_UP | ||
660 | #define STAR_DOWN BUTTON_DOWN | ||
661 | #define STAR_TOGGLE_CONTROL BUTTON_PLAY | ||
662 | #define STAR_LEVEL_UP BUTTON_VOL_UP | ||
663 | #define STAR_LEVEL_DOWN BUTTON_VOL_DOWN | ||
664 | #define STAR_LEVEL_REPEAT BUTTON_BACK | ||
665 | #define STAR_TOGGLE_CONTROL_NAME "PLAY" | ||
666 | #define STAR_QUIT_NAME "POWER" | ||
667 | #define STAR_LEVEL_UP_NAME "VOL+" | ||
668 | #define STAR_LEVEL_DOWN_NAME "VOL-" | ||
669 | #define STAR_LEVEL_REPEAT_NAME "BACK" | ||
670 | |||
655 | #else | 671 | #else |
656 | #error No keymap defined! | 672 | #error No keymap defined! |
657 | #endif | 673 | #endif |