summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index 97fe7d3f4c..69062d5062 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -399,6 +399,15 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#define MPEG_RW BUTTON_PREV
#define MPEG_FF BUTTON_NEXT
+#elif CONFIG_KEYPAD == SONY_NWZ_PAD
+#define MPEG_MENU BUTTON_BACK
+#define MPEG_PAUSE BUTTON_PLAY
+#define MPEG_STOP BUTTON_POWER
+#define MPEG_VOLDOWN BUTTON_LEFT
+#define MPEG_VOLUP BUTTON_RIGHT
+#define MPEG_RW BUTTON_UP
+#define MPEG_FF BUTTON_DOWN
+
#else
#error No keymap defined!
#endif