From 3623a684045aa6551f22a6b90c63dc86a6c372b4 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 2 Oct 2011 17:35:21 +0000 Subject: [PATCH] fuze+: add midiplay keymap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30697 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/midi/midiplay.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index 16d153a1ba..3066502dda 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c @@ -217,6 +217,14 @@ #define BTN_DOWN BUTTON_DOWN #define BTN_PLAY BUTTON_PLAY +#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD +#define BTN_QUIT BUTTON_POWER +#define BTN_RIGHT BUTTON_RIGHT +#define BTN_LEFT BUTTON_LEFT +#define BTN_UP BUTTON_UP +#define BTN_DOWN BUTTON_DOWN +#define BTN_PLAY BUTTON_PLAYPAUSE + #else #error No keymap defined! #endif