summaryrefslogtreecommitdiffstats
path: root/apps/plugins/zxbox/keymaps.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/keymaps.h')
-rw-r--r--apps/plugins/zxbox/keymaps.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/keymaps.h b/apps/plugins/zxbox/keymaps.h
index 659bcca40a..b14a296d42 100644
--- a/apps/plugins/zxbox/keymaps.h
+++ b/apps/plugins/zxbox/keymaps.h
@@ -246,6 +246,14 @@
#define ZX_LEFT BUTTON_LEFT
#define ZX_RIGHT BUTTON_RIGHT
+#elif (CONFIG_KEYPAD == SONY_NWZ_PAD)
+#define ZX_MENU BUTTON_POWER
+#define ZX_UP BUTTON_UP
+#define ZX_DOWN BUTTON_DOWN
+#define ZX_LEFT BUTTON_LEFT
+#define ZX_RIGHT BUTTON_RIGHT
+#define ZX_SELECT BUTTON_PLAY
+
#else
#error Keymap not defined!