summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pegbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pegbox.c')
-rw-r--r--apps/plugins/pegbox.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index 9ad816c6a1..c3a99389f5 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -594,6 +594,23 @@ CONFIG_KEYPAD == MROBE500_PAD
#define LVL_DOWN_TEXT "PREV"
#define SELECT_TEXT "SELECT"
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define PEGBOX_RIGHT BUTTON_RIGHT
+#define PEGBOX_LEFT BUTTON_LEFT
+#define PEGBOX_UP BUTTON_UP
+#define PEGBOX_DOWN BUTTON_DOWN
+#define PEGBOX_QUIT BUTTON_POWER
+#define PEGBOX_SELECT BUTTON_PLAY
+#define PEGBOX_RESTART BUTTON_BACK
+
+#define SAVE_TEXT "BACK+PLAY"
+#define QUIT_TEXT "POWER"
+#define RESTART_TEXT "BACK+POWER"
+#define LVL_UP_TEXT "BACK+RIGHT"
+#define LVL_DOWN_TEXT "BACK+LEFT"
+#define SELECT_TEXT "PLAY"
+
+
#else
#error Unsupported keymap!
#endif