diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-22 14:20:04 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-22 14:20:04 +0000 |
commit | 106ac75ad8229d4c5f66a846609520d22d9d8f0c (patch) | |
tree | defc6786b833bbef4f589070814eee59a8567ba8 /apps/plugins/midi | |
parent | 95d8590659602080acc7d25f49e7b24b429aa5af (diff) | |
download | rockbox-106ac75ad8229d4c5f66a846609520d22d9d8f0c.tar.gz rockbox-106ac75ad8229d4c5f66a846609520d22d9d8f0c.zip |
Adapted most multi-source plugins to the iAudio M3 keypad and screen. Doom and mpegplayer are disabled because of the not yet implemented greyscale library, and zxbox used 2-bit greyscale for now. * Slight optimisation for the (currently unused except on M3) 2-bit greyscale code in zxbox. * Simplified button definitions in chessbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16744 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/midi')
-rw-r--r-- | apps/plugins/midi/midiplay.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index 940fce3a19..c5865beb09 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c | |||
@@ -126,6 +126,15 @@ PLUGIN_IRAM_DECLARE | |||
126 | #define BTN_PLAY BUTTON_DISPLAY | 126 | #define BTN_PLAY BUTTON_DISPLAY |
127 | 127 | ||
128 | 128 | ||
129 | #elif CONFIG_KEYPAD == IAUDIO_M3_PAD | ||
130 | #define BTN_QUIT BUTTON_RC_REC | ||
131 | #define BTN_RIGHT BUTTON_RC_FF | ||
132 | #define BTN_LEFT BUTTON_RC_REW | ||
133 | #define BTN_UP BUTTON_RC_VOL_UP | ||
134 | #define BTN_DOWN BUTTON_RC_VOL_DOWN | ||
135 | #define BTN_PLAY BUTTON_RC_PLAY | ||
136 | |||
137 | |||
129 | #else | 138 | #else |
130 | #error No keymap defined! | 139 | #error No keymap defined! |
131 | #endif | 140 | #endif |