From 106ac75ad8229d4c5f66a846609520d22d9d8f0c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 22 Mar 2008 14:20:04 +0000 Subject: 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 --- apps/plugins/midi/midiplay.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'apps/plugins/midi/midiplay.c') 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 #define BTN_PLAY BUTTON_DISPLAY +#elif CONFIG_KEYPAD == IAUDIO_M3_PAD +#define BTN_QUIT BUTTON_RC_REC +#define BTN_RIGHT BUTTON_RC_FF +#define BTN_LEFT BUTTON_RC_REW +#define BTN_UP BUTTON_RC_VOL_UP +#define BTN_DOWN BUTTON_RC_VOL_DOWN +#define BTN_PLAY BUTTON_RC_PLAY + + #else #error No keymap defined! #endif -- cgit v1.2.3