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/fireworks.c | |
parent | bca8edd856cee3a3b469ef9fe2770a191b590fde (diff) |
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/fireworks.c')
-rw-r--r-- | apps/plugins/fireworks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index e233a8ea66..68fe2ebe25 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c @@ -66,6 +66,12 @@ static struct plugin_api* rb; #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) #define BTN_MENU BUTTON_POWER #define BTN_FIRE BUTTON_PLAY +#elif CONFIG_KEYPAD == IAUDIO_M3_PAD +#define BTN_MENU BUTTON_RC_REC +#define BTN_FIRE BUTTON_RC_PLAY + +#else +#error No keymap defined! #endif /* The lowdown on source terminology: |