summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-08-16 00:32:45 +0000
committerJens Arnold <amiconn@rockbox.org>2006-08-16 00:32:45 +0000
commit1fdb5bff39158afedafbab369c61840f345251de (patch)
tree60b7b2ff42fc841773fc8ba17dc09b461f705711 /apps/plugin.h
parent013ab3dd3d49059a4896bce4498a48b91ade2bdc (diff)
downloadrockbox-1fdb5bff39158afedafbab369c61840f345251de.tar.gz
rockbox-1fdb5bff39158afedafbab369c61840f345251de.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 8384d8b9aa..9b3cec5cde 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -549,7 +549,7 @@ struct plugin_api {
549 int (*PREFIX(rmdir))(const char *name); 549 int (*PREFIX(rmdir))(const char *name);
550 /* action handling */ 550 /* action handling */
551 int (*get_custom_action)(int context,int timeout, 551 int (*get_custom_action)(int context,int timeout,
552 struct button_mapping* (*get_context_map)(int)); 552 const struct button_mapping* (*get_context_map)(int));
553 int (*get_action)(int context, int timeout); 553 int (*get_action)(int context, int timeout);
554 void (*action_signalscreenchange)(void); 554 void (*action_signalscreenchange)(void);
555 bool (*action_userabort)(int timeout); 555 bool (*action_userabort)(int timeout);