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/sudoku | |
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/sudoku')
-rw-r--r-- | apps/plugins/sudoku/sudoku.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h index 434223ef68..749087260d 100644 --- a/apps/plugins/sudoku/sudoku.h +++ b/apps/plugins/sudoku/sudoku.h | |||
@@ -432,6 +432,20 @@ | |||
432 | #define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL) | 432 | #define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL) |
433 | #define SUDOKU_BUTTON_POSSIBLE (BUTTON_HOME | BUTTON_POWER) | 433 | #define SUDOKU_BUTTON_POSSIBLE (BUTTON_HOME | BUTTON_POWER) |
434 | 434 | ||
435 | #elif CONFIG_KEYPAD == FIIO_M3K_PAD | ||
436 | #define SUDOKU_BUTTON_QUIT_PRE BUTTON_POWER | ||
437 | #define SUDOKU_BUTTON_QUIT (BUTTON_POWER | BUTTON_REPEAT) | ||
438 | #define SUDOKU_BUTTON_UP BUTTON_HOME | ||
439 | #define SUDOKU_BUTTON_DOWN BUTTON_OPTION | ||
440 | #define SUDOKU_BUTTON_LEFT BUTTON_PREV | ||
441 | #define SUDOKU_BUTTON_RIGHT BUTTON_NEXT | ||
442 | #define SUDOKU_BUTTON_TOGGLEBACK BUTTON_VOL_DOWN | ||
443 | #define SUDOKU_BUTTON_TOGGLE BUTTON_VOL_UP | ||
444 | #define SUDOKU_BUTTON_ALTTOGGLE BUTTON_PLAY | ||
445 | #define SUDOKU_BUTTON_MENU_PRE BUTTON_POWER | ||
446 | #define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL) | ||
447 | #define SUDOKU_BUTTON_POSSIBLE (BUTTON_HOME | BUTTON_POWER) | ||
448 | |||
435 | #elif CONFIG_KEYPAD == IHIFI_770_PAD | 449 | #elif CONFIG_KEYPAD == IHIFI_770_PAD |
436 | #define SUDOKU_BUTTON_QUIT_PRE BUTTON_POWER | 450 | #define SUDOKU_BUTTON_QUIT_PRE BUTTON_POWER |
437 | #define SUDOKU_BUTTON_QUIT (BUTTON_POWER | BUTTON_REPEAT) | 451 | #define SUDOKU_BUTTON_QUIT (BUTTON_POWER | BUTTON_REPEAT) |