summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2022-02-23 21:26:37 -0500
committerWilliam Wilgus <wilgus.william@gmail.com>2022-02-23 21:38:27 -0500
commit295ec3790d191c41006d04b41db878dc1091b117 (patch)
treebeafe7409e2722f199abb96a657e6a52adce9ea6 /apps/plugin.h
parentf7bb9e21672566308ab837c370f27c10c154e6fc (diff)
downloadrockbox-295ec3790d191c41006d04b41db878dc1091b117.tar.gz
rockbox-295ec3790d191c41006d04b41db878dc1091b117.zip
Core Keyremap Allow setting keymap from plugin
Allow setting and removing keyremap on the fly It was pretty annoying trying to work out a keyremap with a restart required to set the remap and was quite annoying when I was no longer able to navigate to the plugin or filebrowser due to setting the wrong remap now you can try out a keymap and if it doesn't work a restart will sort things out Change-Id: I848fb3bd759f9684ac2497324a371f92b7464f7b
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 8ade3a05ac..de1077c9b4 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -934,6 +934,7 @@ struct plugin_api {
934 int (*battery_current)(void); 934 int (*battery_current)(void);
935 void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb)); 935 void (*onplay_show_playlist_menu)(const char* path, void (*playlist_insert_cb));
936 void (*queue_remove_from_head)(struct event_queue *q, long id); 936 void (*queue_remove_from_head)(struct event_queue *q, long id);
937 int (*core_set_keyremap)(struct button_mapping* core_keymap, int count);
937}; 938};
938 939
939/* plugin header */ 940/* plugin header */