summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-02-27 22:08:58 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-03-28 00:01:37 +0000
commit3ec66893e377b088c1284d2d23adb2aeea6d7965 (patch)
treeb647717f83ad56b15dc42cfdef5d04d68cd9bd6b /apps/plugins/sudoku
parent83fcbedc65f4b9ae7e491ecf6f07c0af4b245f74 (diff)
downloadrockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.tar.gz
rockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.zip
New port: FiiO M3K on bare metal
Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r--apps/plugins/sudoku/sudoku.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index de3802d9bc..6ee3eb33ee 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -459,6 +459,17 @@
459#define SUDOKU_BUTTON_MENU (BUTTON_MENU | BUTTON_REL) 459#define SUDOKU_BUTTON_MENU (BUTTON_MENU | BUTTON_REL)
460#define SUDOKU_BUTTON_POSSIBLE BUTTON_BACK 460#define SUDOKU_BUTTON_POSSIBLE BUTTON_BACK
461 461
462#elif CONFIG_KEYPAD == FIIO_M3K_PAD
463#define SUDOKU_BUTTON_QUIT BUTTON_POWER
464#define SUDOKU_BUTTON_UP BUTTON_UP
465#define SUDOKU_BUTTON_DOWN BUTTON_DOWN
466#define SUDOKU_BUTTON_LEFT BUTTON_LEFT
467#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT
468#define SUDOKU_BUTTON_TOGGLEBACK BUTTON_VOL_DOWN
469#define SUDOKU_BUTTON_TOGGLE BUTTON_VOL_UP
470#define SUDOKU_BUTTON_MENU BUTTON_MENU
471#define SUDOKU_BUTTON_POSSIBLE BUTTON_BACK
472
462#else 473#else
463#error No keymap defined! 474#error No keymap defined!
464#endif 475#endif