From 591a83a0892b6acc2b81ccdbcfb48b5391090e7c Mon Sep 17 00:00:00 2001 From: Aidan MacDonald Date: Wed, 20 Apr 2022 10:56:56 +0100 Subject: plugins: multiboot_select: Support touchscreen pointing mode The plugin is menu based, so it should respect the global setting. Change-Id: Ibfca63c919baa508d1253328c49c6b18f9e815f6 --- apps/plugins/multiboot_select.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps') 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); -- cgit v1.2.3