summaryrefslogtreecommitdiffstats
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r--apps/plugins/star.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index d74fc45e89..a7ef116d15 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -549,6 +549,22 @@
#define STAR_LEVEL_DOWN_NAME "PREV"
#define STAR_LEVEL_REPEAT_NAME "PLAY"
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define STAR_QUIT BUTTON_BACK
+#define STAR_LEFT BUTTON_LEFT
+#define STAR_RIGHT BUTTON_RIGHT
+#define STAR_UP BUTTON_UP
+#define STAR_DOWN BUTTON_DOWN
+#define STAR_TOGGLE_CONTROL BUTTON_PLAY
+#define STAR_LEVEL_UP (BUTTON_POWER|BUTTON_UP)
+#define STAR_LEVEL_DOWN (BUTTON_POWER|BUTTON_DOWN)
+#define STAR_LEVEL_REPEAT (BUTTON_POWER|BUTTON_PLAY)
+#define STAR_LEVEL_UP_NAME "Option+Up"
+#define STAR_LEVEL_DOWN_NAME "Option+Down"
+#define STAR_LEVEL_REPEAT_NAME "Option+Play"
+#define STAR_TOGGLE_CONTROL_NAME "Play"
+#define STAR_QUIT_NAME "Back"
+
#else
#error No keymap defined!
#endif