summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index f448b96fe2..8b9fe85da9 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -141,8 +141,16 @@ enum minesweeper_status {
141# define MINESWP_DISCOVER BUTTON_SELECT 141# define MINESWP_DISCOVER BUTTON_SELECT
142# define MINESWP_INFO BUTTON_MENU 142# define MINESWP_INFO BUTTON_MENU
143 143
144#elif (CONFIG_KEYPAD == MROBE100_PAD)
145# define MINESWP_UP BUTTON_UP
146# define MINESWP_DOWN BUTTON_DOWN
147# define MINESWP_QUIT BUTTON_POWER
148# define MINESWP_TOGGLE BUTTON_DISPLAY
149# define MINESWP_DISCOVER BUTTON_SELECT
150# define MINESWP_INFO BUTTON_MENU
151
144#else 152#else
145# warning Missing key definitions for this keypad 153#error No keymap defined!
146#endif 154#endif
147 155
148/* here is a global api struct pointer. while not strictly necessary, 156/* here is a global api struct pointer. while not strictly necessary,