summaryrefslogtreecommitdiffstats
path: root/apps/plugins/xobox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/xobox.c')
-rw-r--r--apps/plugins/xobox.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index 7b2189762e..8c6988e0f9 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -306,6 +306,14 @@ CONFIG_KEYPAD == MROBE500_PAD
#define DOWN BUTTON_DOWN
#define PAUSE BUTTON_SELECT
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define QUIT BUTTON_BACK
+#define LEFT BUTTON_LEFT
+#define RIGHT BUTTON_RIGHT
+#define UP BUTTON_UP
+#define DOWN BUTTON_DOWN
+#define PAUSE BUTTON_PLAY
+
#else
#error No keymap defined!
#endif