From 3ec66893e377b088c1284d2d23adb2aeea6d7965 Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Sat, 27 Feb 2021 22:08:58 +0000 Subject: New port: FiiO M3K on bare metal Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe --- apps/plugins/minesweeper.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/minesweeper.c') 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 # define MINESWP_DISCOVER (BUTTON_PLAY | BUTTON_REPEAT) # define MINESWP_INFO BUTTON_VOL_UP +#elif CONFIG_KEYPAD == FIIO_M3K_PAD +# define MINESWP_LEFT BUTTON_LEFT +# define MINESWP_RIGHT BUTTON_RIGHT +# define MINESWP_UP BUTTON_UP +# define MINESWP_DOWN BUTTON_DOWN +# define MINESWP_QUIT BUTTON_POWER +# define MINESWP_TOGGLE_PRE BUTTON_SELECT +# define MINESWP_TOGGLE (BUTTON_SELECT|BUTTON_REL) +# define MINESWP_DISCOVER (BUTTON_SELECT|BUTTON_REPEAT) +# define MINESWP_INFO BUTTON_MENU + #else #error No keymap defined! #endif -- cgit v1.2.3