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/minesweeper.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/minesweeper.c')
-rw-r--r-- | apps/plugins/minesweeper.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index 590ea56d08..19a6b99f12 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -432,6 +432,17 @@ CONFIG_KEYPAD == MROBE500_PAD | |||
432 | # define MINESWP_DISCOVER (BUTTON_PLAY | BUTTON_REPEAT) | 432 | # define MINESWP_DISCOVER (BUTTON_PLAY | BUTTON_REPEAT) |
433 | # define MINESWP_INFO BUTTON_VOL_UP | 433 | # define MINESWP_INFO BUTTON_VOL_UP |
434 | 434 | ||
435 | #elif CONFIG_KEYPAD == FIIO_M3K_PAD | ||
436 | # define MINESWP_LEFT BUTTON_LEFT | ||
437 | # define MINESWP_RIGHT BUTTON_RIGHT | ||
438 | # define MINESWP_UP BUTTON_UP | ||
439 | # define MINESWP_DOWN BUTTON_DOWN | ||
440 | # define MINESWP_QUIT BUTTON_POWER | ||
441 | # define MINESWP_TOGGLE_PRE BUTTON_SELECT | ||
442 | # define MINESWP_TOGGLE (BUTTON_SELECT|BUTTON_REL) | ||
443 | # define MINESWP_DISCOVER (BUTTON_SELECT|BUTTON_REPEAT) | ||
444 | # define MINESWP_INFO BUTTON_MENU | ||
445 | |||
435 | #else | 446 | #else |
436 | #error No keymap defined! | 447 | #error No keymap defined! |
437 | #endif | 448 | #endif |