summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r--apps/plugins/cube.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index b75c1f21c8..de548ce308 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -370,6 +370,16 @@
#define CUBE_PAUSE BUTTON_SELECT
#define CUBE_HIGHSPEED BUTTON_NEXT
+#elif (CONFIG_KEYPAD == SONY_NWZ_PAD)
+#define CUBE_QUIT BUTTON_BACK
+#define CUBE_NEXT BUTTON_RIGHT
+#define CUBE_PREV BUTTON_LEFT
+#define CUBE_INC BUTTON_UP
+#define CUBE_DEC BUTTON_DOWN
+#define CUBE_MODE (BUTTON_POWER|BUTTON_UP)
+#define CUBE_PAUSE BUTTON_PLAY
+#define CUBE_HIGHSPEED (BUTTON_POWER|BUTTON_DOWN)
+
#else
#error No keymap defined!
#endif