summaryrefslogtreecommitdiffstats
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, 10 insertions, 0 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index c1e6b4a84d..030151398a 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -357,6 +357,16 @@ CONFIG_KEYPAD == MROBE500_PAD
# define MINESWP_DISCOVER BUTTON_PLAY
# define MINESWP_INFO BUTTON_VOL_DOWN
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define MINESWP_LEFT BUTTON_LEFT
+#define MINESWP_RIGHT BUTTON_RIGHT
+#define MINESWP_UP BUTTON_UP
+#define MINESWP_DOWN BUTTON_DOWN
+#define MINESWP_QUIT BUTTON_BACK
+#define MINESWP_TOGGLE BUTTON_PLAY
+#define MINESWP_DISCOVER (BUTTON_PLAY|BUTTON_REPEAT)
+#define MINESWP_INFO BUTTON_POWER
+
#else
#error No keymap defined!
#endif