From e805b9b151101cece847107ec29fe7dc6f82bbf7 Mon Sep 17 00:00:00 2001 From: VerstreuteSeele Date: Sun, 12 Feb 2023 08:04:33 +0100 Subject: [PATCH] add basepath to bad-kb layouts selector --- applications/main/bad_kb/scenes/bad_kb_scene_config_layout.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/main/bad_kb/scenes/bad_kb_scene_config_layout.c b/applications/main/bad_kb/scenes/bad_kb_scene_config_layout.c index 006ad31bd..3842c59fa 100644 --- a/applications/main/bad_kb/scenes/bad_kb_scene_config_layout.c +++ b/applications/main/bad_kb/scenes/bad_kb_scene_config_layout.c @@ -3,6 +3,8 @@ #include "furi_hal_usb.h" #include +#define KEYBOARD_FOLDER "/ext/badkb/layouts" + static bool bad_kb_layout_select(BadKbApp* bad_kb) { furi_assert(bad_kb); @@ -17,6 +19,7 @@ static bool bad_kb_layout_select(BadKbApp* bad_kb) { DialogsFileBrowserOptions browser_options; dialog_file_browser_set_basic_options( &browser_options, BAD_KB_APP_LAYOUT_EXTENSION, &I_keyboard_10px); + browser_options.base_path = KEYBOARD_FOLDER; // Input events and views are managed by file_browser bool res = dialog_file_browser_show(