summaryrefslogtreecommitdiffstats
path: root/apps/plugins/zxbox/zxbox_keyb.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/zxbox_keyb.c')
-rw-r--r--apps/plugins/zxbox/zxbox_keyb.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/zxbox_keyb.c b/apps/plugins/zxbox/zxbox_keyb.c
index 62f593df37..b4b39d57da 100644
--- a/apps/plugins/zxbox/zxbox_keyb.c
+++ b/apps/plugins/zxbox/zxbox_keyb.c
@@ -254,6 +254,14 @@
#define KBD_UP BUTTON_UP
#define KBD_DOWN BUTTON_DOWN
+#elif (CONFIG_KEYPAD == SONY_NWZ_PAD)
+#define KBD_SELECT BUTTON_PLAY
+#define KBD_ABORT BUTTON_BACK
+#define KBD_LEFT BUTTON_LEFT
+#define KBD_RIGHT BUTTON_RIGHT
+#define KBD_UP BUTTON_UP
+#define KBD_DOWN BUTTON_DOWN
+
#endif
#ifdef HAVE_TOUCHSCREEN