summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/sudoku.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sudoku/sudoku.h')
-rw-r--r--apps/plugins/sudoku/sudoku.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h
index 78d1b73e63..8c2759796a 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -160,6 +160,16 @@
#define SUDOKU_BUTTON_MENU BUTTON_MENU
#define SUDOKU_BUTTON_POSSIBLE BUTTON_DISPLAY
+#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
+#define SUDOKU_BUTTON_QUIT BUTTON_RC_REC
+#define SUDOKU_BUTTON_UP BUTTON_RC_VOL_UP
+#define SUDOKU_BUTTON_DOWN BUTTON_RC_VOL_DOWN
+#define SUDOKU_BUTTON_LEFT BUTTON_RC_REW
+#define SUDOKU_BUTTON_RIGHT BUTTON_RC_FF
+#define SUDOKU_BUTTON_TOGGLE BUTTON_RC_MODE
+#define SUDOKU_BUTTON_MENU BUTTON_RC_MENU
+#define SUDOKU_BUTTON_POSSIBLE BUTTON_RC_PLAY
+
#else
#error No keymap defined!
#endif