diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-22 10:24:28 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-22 10:24:28 +0000 |
commit | 29361abf744ed116cec04ca03e754ddd2794b76c (patch) | |
tree | d336dd19570faed037aef9064ce3c490c50ed6df /apps/plugins/test_codec.c | |
parent | bca8edd856cee3a3b469ef9fe2770a191b590fde (diff) | |
download | rockbox-29361abf744ed116cec04ca03e754ddd2794b76c.tar.gz rockbox-29361abf744ed116cec04ca03e754ddd2794b76c.zip |
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
Diffstat (limited to 'apps/plugins/test_codec.c')
-rw-r--r-- | apps/plugins/test_codec.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
20 | 20 | ||
21 | PLUGIN_HEADER | 21 | PLUGIN_HEADER |
22 | 22 | ||
23 | /* All swcodec targets have BUTTON_SELECT apart from the H10 */ | 23 | /* All swcodec targets have BUTTON_SELECT apart from the H10 and M3 */ |
24 | 24 | ||
25 | #if CONFIG_KEYPAD == IRIVER_H10_PAD | 25 | #if CONFIG_KEYPAD == IRIVER_H10_PAD |
26 | #define TESTCODEC_EXITBUTTON BUTTON_RIGHT | 26 | #define TESTCODEC_EXITBUTTON BUTTON_RIGHT |
27 | #elif CONFIG_KEYPAD == IAUDIO_M3_PAD | ||
28 | #define TESTCODEC_EXITBUTTON BUTTON_RC_PLAY | ||
27 | #else | 29 | #else |
28 | #define TESTCODEC_EXITBUTTON BUTTON_SELECT | 30 | #define TESTCODEC_EXITBUTTON BUTTON_SELECT |
29 | #endif | 31 | #endif |