diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-04-20 10:56:56 +0100 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-04-21 20:38:11 -0400 |
commit | 591a83a0892b6acc2b81ccdbcfb48b5391090e7c (patch) | |
tree | 5ed338ad7baad00e150ea785ff691fdfd4525bed /apps | |
parent | 306caa275452075cf3a0667c7aa06c4ee6781e35 (diff) | |
download | rockbox-591a83a0892b6acc2b81ccdbcfb48b5391090e7c.tar.gz rockbox-591a83a0892b6acc2b81ccdbcfb48b5391090e7c.zip |
plugins: multiboot_select: Support touchscreen pointing mode
The plugin is menu based, so it should respect the global setting.
Change-Id: Ibfca63c919baa508d1253328c49c6b18f9e815f6
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/multiboot_select.c | 4 |
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) | |||
346 | { | 346 | { |
347 | (void)param; | 347 | (void)param; |
348 | 348 | ||
349 | #ifdef HAVE_TOUCHSCREEN | ||
350 | rb->touchscreen_set_mode(rb->global_settings->touch_mode); | ||
351 | #endif | ||
352 | |||
349 | /* load the current root */ | 353 | /* load the current root */ |
350 | const char* myroot = read_redirect(); | 354 | const char* myroot = read_redirect(); |
351 | rb->strcpy(cur_root, myroot); | 355 | rb->strcpy(cur_root, myroot); |