From 1fdb5bff39158afedafbab369c61840f345251de Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 16 Aug 2006 00:32:45 +0000 Subject: 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 --- apps/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugin.h') 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 { 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); -- cgit v1.2.3