summaryrefslogtreecommitdiff
path: root/apps/plugins/midiplay.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-10-26 13:38:09 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-10-26 13:38:09 +0000
commit24f4a2a8cfd561657ce25ebf93470716f07397fe (patch)
treef411d86cb56bd128fe0206d148005f0a882f686a /apps/plugins/midiplay.c
parent34193e5cf23e7d739c2ccda0ed82e77492578cef (diff)
downloadrockbox-24f4a2a8cfd561657ce25ebf93470716f07397fe.tar.gz
rockbox-24f4a2a8cfd561657ce25ebf93470716f07397fe.zip
Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midiplay.c')
-rw-r--r--apps/plugins/midiplay.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/plugins/midiplay.c b/apps/plugins/midiplay.c
index e0b89cf860..585c7eec25 100644
--- a/apps/plugins/midiplay.c
+++ b/apps/plugins/midiplay.c
@@ -54,6 +54,13 @@ PLUGIN_HEADER
54#define BTN_UP BUTTON_VOL_UP 54#define BTN_UP BUTTON_VOL_UP
55#define BTN_DOWN BUTTON_VOL_DOWN 55#define BTN_DOWN BUTTON_VOL_DOWN
56 56
57#elif (CONFIG_KEYPAD == SANSA_E200_PAD)
58#define BTN_QUIT BUTTON_POWER
59#define BTN_RIGHT BUTTON_RIGHT
60#define BTN_UP BUTTON_UP
61#define BTN_DOWN BUTTON_DOWN
62
63
57#elif CONFIG_KEYPAD == IAUDIO_X5_PAD 64#elif CONFIG_KEYPAD == IAUDIO_X5_PAD
58#define BTN_QUIT BUTTON_POWER 65#define BTN_QUIT BUTTON_POWER
59#define BTN_RIGHT BUTTON_RIGHT 66#define BTN_RIGHT BUTTON_RIGHT