From 29361abf744ed116cec04ca03e754ddd2794b76c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 22 Mar 2008 10:24:28 +0000 Subject: Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/test_codec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'apps/plugins/test_codec.c') diff --git a/apps/plugins/test_codec.c b/apps/plugins/test_codec.c index 9cbfa70614..28e3d18431 100644 --- a/apps/plugins/test_codec.c +++ b/apps/plugins/test_codec.c @@ -20,10 +20,12 @@ PLUGIN_HEADER -/* All swcodec targets have BUTTON_SELECT apart from the H10 */ +/* All swcodec targets have BUTTON_SELECT apart from the H10 and M3 */ #if CONFIG_KEYPAD == IRIVER_H10_PAD #define TESTCODEC_EXITBUTTON BUTTON_RIGHT +#elif CONFIG_KEYPAD == IAUDIO_M3_PAD +#define TESTCODEC_EXITBUTTON BUTTON_RC_PLAY #else #define TESTCODEC_EXITBUTTON BUTTON_SELECT #endif -- cgit v1.2.3