summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:35:25 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 17:35:25 +0000
commit5064485c0c03f28b8d096e468859fa6b75be62a7 (patch)
treee356ed958ad27ec2a75a0609c8ce03ad811cd585 /apps/plugins/mpegplayer/mpegplayer.c
parent3623a684045aa6551f22a6b90c63dc86a6c372b4 (diff)
downloadrockbox-5064485c0c03f28b8d096e468859fa6b75be62a7.tar.gz
rockbox-5064485c0c03f28b8d096e468859fa6b75be62a7.tar.bz2
rockbox-5064485c0c03f28b8d096e468859fa6b75be62a7.zip
fuze+°: add mpeg keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30698 a1c6a512-1295-4272-9138-f99709370657
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 84eae42a75..2491bb1aec 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -344,6 +344,15 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#define MPEG_RW BUTTON_REW
#define MPEG_FF BUTTON_FF
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+#define MPEG_MENU BUTTON_POWER
+#define MPEG_PAUSE (BUTTON_PLAYPAUSE | BUTTON_REL)
+#define MPEG_STOP (BUTTON_PLAYPAUSE | BUTTON_REPEAT)
+#define MPEG_VOLDOWN BUTTON_VOL_DOWN
+#define MPEG_VOLUP BUTTON_VOL_UP
+#define MPEG_RW BUTTON_LEFT
+#define MPEG_FF BUTTON_RIGHT
+
#else
#error No keymap defined!
#endif