summaryrefslogtreecommitdiff
path: root/apps/plugins/midi
diff options
context:
space:
mode:
authorMarianne Arnold <pixelma@rockbox.org>2008-01-13 14:52:31 +0000
committerMarianne Arnold <pixelma@rockbox.org>2008-01-13 14:52:31 +0000
commit9956c255405f962c923579ab5f7b0b746c86f5c8 (patch)
treed75a094e7def26af5d09f1bd2adde2f1713a8abb /apps/plugins/midi
parent28cd26c4718817ef040c84a9b1db6a302990c4f6 (diff)
Midiplay: more consistent button mapping on c200 - use the volume buttons to adjust volume (BTN_UP/DOWN), making it possible to use the 'Play' button for play/pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16077 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi')
-rw-r--r--apps/plugins/midi/midiplay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c
index 07ecb56934..e165460708 100644
--- a/apps/plugins/midi/midiplay.c
+++ b/apps/plugins/midi/midiplay.c
@@ -85,9 +85,9 @@ PLUGIN_IRAM_DECLARE
#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_REC
+#define BTN_UP BUTTON_VOL_UP
+#define BTN_DOWN BUTTON_VOL_DOWN
+#define BTN_PLAY BUTTON_UP
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
@@ -122,7 +122,7 @@ PLUGIN_IRAM_DECLARE
#undef SYNC
#ifdef SIMULATOR
- #define SYNC
+#define SYNC
#endif
struct MIDIfile * mf IBSS_ATTR;