summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-04-20 10:56:56 +0100
committerSolomon Peachy <pizza@shaftnet.org>2024-04-21 20:38:11 -0400
commit591a83a0892b6acc2b81ccdbcfb48b5391090e7c (patch)
tree5ed338ad7baad00e150ea785ff691fdfd4525bed
parent306caa275452075cf3a0667c7aa06c4ee6781e35 (diff)
downloadrockbox-591a83a089.tar.gz
rockbox-591a83a089.zip
plugins: multiboot_select: Support touchscreen pointing mode
The plugin is menu based, so it should respect the global setting. Change-Id: Ibfca63c919baa508d1253328c49c6b18f9e815f6
-rw-r--r--apps/plugins/multiboot_select.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/multiboot_select.c b/apps/plugins/multiboot_select.c
index 2922136548..02049f80fe 100644
--- a/apps/plugins/multiboot_select.c
+++ b/apps/plugins/multiboot_select.c
@@ -346,6 +346,10 @@ enum plugin_status plugin_start(const void* param)
{
(void)param;
+#ifdef HAVE_TOUCHSCREEN
+ rb->touchscreen_set_mode(rb->global_settings->touch_mode);
+#endif
+
/* load the current root */
const char* myroot = read_redirect();
rb->strcpy(cur_root, myroot);