summaryrefslogtreecommitdiffstats
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 dc29594223..ba476b4b55 100644
--- a/apps/plugins/sudoku/sudoku.h
+++ b/apps/plugins/sudoku/sudoku.h
@@ -380,6 +380,16 @@
#define SUDOKU_BUTTON_POSSIBLE (BUTTON_POWER | BUTTON_SELECT)
#define SUDOKU_BUTTON_ALTTOGGLE BUTTON_SELECT
+
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define SUDOKU_BUTTON_MENU BUTTON_BACK
+#define SUDOKU_BUTTON_UP BUTTON_UP
+#define SUDOKU_BUTTON_DOWN BUTTON_DOWN
+#define SUDOKU_BUTTON_LEFT BUTTON_LEFT
+#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT
+#define SUDOKU_BUTTON_TOGGLE BUTTON_PLAY
+#define SUDOKU_BUTTON_POSSIBLE BUTTON_POWER
+
#else
#error No keymap defined!
#endif