diff --git a/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.cpp b/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.cpp index 4e1a02d0..e4d6cf99 100644 --- a/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.cpp +++ b/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.cpp @@ -68,12 +68,16 @@ namespace skyline::applet::swkbd { std::move(onAppletStateChanged), std::move(onNormalDataPushFromApplet), std::move(onInteractiveDataPushFromApplet), - appletMode} { - if (appletMode != service::applet::LibraryAppletMode::AllForeground) - throw exception("Inline Software Keyboard not implemeted"); + appletMode}, mode{appletMode} { } Result SoftwareKeyboardApplet::Start() { + if (mode != service::applet::LibraryAppletMode::AllForeground) { + Logger::Warn("Stubbing out InlineKeyboard!"); + SendResult(); + return {}; + } + std::scoped_lock lock{normalInputDataMutex}; auto commonArgs{normalInputData.front()->GetSpan().as()}; normalInputData.pop(); diff --git a/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.h b/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.h index 1c34a5b4..04b94e8d 100644 --- a/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.h +++ b/app/src/main/cpp/skyline/applet/swkbd/software_keyboard_applet.h @@ -74,6 +74,7 @@ namespace skyline::applet::swkbd { #pragma pack(pop) KeyboardConfigVB config{}; + service::applet::LibraryAppletMode mode{}; bool validationPending{}; std::u16string currentText{}; CloseResult currentResult{};