summaryrefslogtreecommitdiffstats
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
commitdd61702fb0a45167aeba3f3f183b794e47c30f6f (patch)
treebe2389872bfc1ca4106b4c717409fe17d582a6fe /apps/plugins/mpegplayer/mpegplayer.c
parentd2ebc534eaba1bcda0ba50250c8c3f6cadfd4ed9 (diff)
downloadrockbox-dd61702fb0a45167aeba3f3f183b794e47c30f6f.tar.gz
rockbox-dd61702fb0a45167aeba3f3f183b794e47c30f6f.tar.bz2
rockbox-dd61702fb0a45167aeba3f3f183b794e47c30f6f.zip
HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 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 2314d96889..b324133940 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -336,6 +336,15 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#define MPEG_RW BUTTON_REW
#define MPEG_FF BUTTON_FF
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define MPEG_MENU BUTTON_MENU
+#define MPEG_PAUSE (BUTTON_PLAY | BUTTON_REL)
+#define MPEG_STOP (BUTTON_PLAY | BUTTON_REPEAT)
+#define MPEG_VOLDOWN BUTTON_DOWN
+#define MPEG_VOLUP BUTTON_UP
+#define MPEG_RW BUTTON_REW
+#define MPEG_FF BUTTON_FF
+
#else
#error No keymap defined!
#endif