diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-08-16 00:32:45 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-08-16 00:32:45 +0000 |
| commit | 1fdb5bff39158afedafbab369c61840f345251de (patch) | |
| tree | 60b7b2ff42fc841773fc8ba17dc09b461f705711 /apps/plugin.h | |
| parent | 013ab3dd3d49059a4896bce4498a48b91ade2bdc (diff) | |
| download | rockbox-1fdb5bff39158afedafbab369c61840f345251de.zip rockbox-1fdb5bff39158afedafbab369c61840f345251de.tar.gz rockbox-1fdb5bff39158afedafbab369c61840f345251de.tar.bz2 rockbox-1fdb5bff39158afedafbab369c61840f345251de.tar.xz | |
Changed the button action code to allow both single-fire and multi-fire events to be triggered with _REPEAT. Also simplifies the code. * Made the button mapping tables const to save RAM when running rockbox from flash ROM. * Repaired button mappings for Ondio. * Repaired some more button mappings for player. * Added missing TREE_STOP for iriver, and fixed WPS skipping for recorder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10600 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 8384d8b..9b3cec5 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -549,7 +549,7 @@ struct plugin_api { int (*PREFIX(rmdir))(const char *name); /* action handling */ int (*get_custom_action)(int context,int timeout, - struct button_mapping* (*get_context_map)(int)); + const struct button_mapping* (*get_context_map)(int)); int (*get_action)(int context, int timeout); void (*action_signalscreenchange)(void); bool (*action_userabort)(int timeout); |