summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r--apps/plugins/sudoku/sudoku.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index 87c0f692b5..78d1b73e63 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -150,8 +150,18 @@
150#define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL) 150#define SUDOKU_BUTTON_MENU (BUTTON_POWER | BUTTON_REL)
151#define SUDOKU_BUTTON_POSSIBLE BUTTON_RC_HEART 151#define SUDOKU_BUTTON_POSSIBLE BUTTON_RC_HEART
152 152
153#elif (CONFIG_KEYPAD == MROBE100_PAD)
154#define SUDOKU_BUTTON_QUIT BUTTON_POWER
155#define SUDOKU_BUTTON_UP BUTTON_UP
156#define SUDOKU_BUTTON_DOWN BUTTON_DOWN
157#define SUDOKU_BUTTON_LEFT BUTTON_LEFT
158#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT
159#define SUDOKU_BUTTON_TOGGLE BUTTON_SELECT
160#define SUDOKU_BUTTON_MENU BUTTON_MENU
161#define SUDOKU_BUTTON_POSSIBLE BUTTON_DISPLAY
162
153#else 163#else
154 #error SUDOKU: Unsupported keypad 164#error No keymap defined!
155#endif 165#endif
156 166
157struct sudoku_state_t { 167struct sudoku_state_t {