summaryrefslogtreecommitdiffstats
path: root/apps/plugins/reversi/reversi-gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/reversi/reversi-gui.h')
-rw-r--r--apps/plugins/reversi/reversi-gui.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/reversi/reversi-gui.h b/apps/plugins/reversi/reversi-gui.h
index 131a3df32a..ef54945fec 100644
--- a/apps/plugins/reversi/reversi-gui.h
+++ b/apps/plugins/reversi/reversi-gui.h
@@ -296,6 +296,14 @@
#elif CONFIG_KEYPAD == SAMSUNG_YPR1_PAD
#define REVERSI_BUTTON_QUIT BUTTON_POWER
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define REVERSI_BUTTON_UP BUTTON_UP
+#define REVERSI_BUTTON_DOWN BUTTON_DOWN
+#define REVERSI_BUTTON_LEFT BUTTON_LEFT
+#define REVERSI_BUTTON_RIGHT BUTTON_RIGHT
+#define REVERSI_BUTTON_MAKE_MOVE BUTTON_PLAY
+#define REVERSI_BUTTON_MENU BUTTON_POWER
+
#else
#error No keymap defined!
#endif