summaryrefslogtreecommitdiffstats
path: root/apps/plugins/snake2.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/snake2.c')
-rw-r--r--apps/plugins/snake2.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c
index 54a2bc8709..e2f54f28c7 100644
--- a/apps/plugins/snake2.c
+++ b/apps/plugins/snake2.c
@@ -365,6 +365,16 @@ CONFIG_KEYPAD == MROBE500_PAD
#define SNAKE2_PLAYPAUSE BUTTON_SELECT
#define SNAKE2_PLAYPAUSE_TEXT "Select"
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define SNAKE2_LEFT BUTTON_LEFT
+#define SNAKE2_RIGHT BUTTON_RIGHT
+#define SNAKE2_UP BUTTON_UP
+#define SNAKE2_DOWN BUTTON_DOWN
+#define SNAKE2_QUIT BUTTON_BACK
+#define SNAKE2_PLAYPAUSE BUTTON_PLAY
+#define SNAKE2_PLAYPAUSE_TEXT "Play"
+
+
#else
#error No keymap defined!
#endif