diff options
author | Fernando S <fsahmkow27@gmail.com> | 2021-11-10 13:42:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-10 13:42:11 +0100 |
commit | bdabd17c765a9f8372e838368e2a7d6567bee052 (patch) | |
tree | fc34ff9929b59a913f2c555dcf8067fff5c9e5bf /src/core/frontend/applets/software_keyboard.cpp | |
parent | service/pctl: Stub EndFreeCommunication (diff) | |
parent | applets/swkbd: Fix text check message encoding (diff) | |
download | yuzu-bdabd17c765a9f8372e838368e2a7d6567bee052.tar yuzu-bdabd17c765a9f8372e838368e2a7d6567bee052.tar.gz yuzu-bdabd17c765a9f8372e838368e2a7d6567bee052.tar.bz2 yuzu-bdabd17c765a9f8372e838368e2a7d6567bee052.tar.lz yuzu-bdabd17c765a9f8372e838368e2a7d6567bee052.tar.xz yuzu-bdabd17c765a9f8372e838368e2a7d6567bee052.tar.zst yuzu-bdabd17c765a9f8372e838368e2a7d6567bee052.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/frontend/applets/software_keyboard.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/frontend/applets/software_keyboard.cpp b/src/core/frontend/applets/software_keyboard.cpp index 12c76c9ee..c4863ee73 100644 --- a/src/core/frontend/applets/software_keyboard.cpp +++ b/src/core/frontend/applets/software_keyboard.cpp @@ -16,7 +16,8 @@ DefaultSoftwareKeyboardApplet::~DefaultSoftwareKeyboardApplet() = default; void DefaultSoftwareKeyboardApplet::InitializeKeyboard( bool is_inline, KeyboardInitializeParameters initialize_parameters, - std::function<void(Service::AM::Applets::SwkbdResult, std::u16string)> submit_normal_callback_, + std::function<void(Service::AM::Applets::SwkbdResult, std::u16string, bool)> + submit_normal_callback_, std::function<void(Service::AM::Applets::SwkbdReplyType, std::u16string, s32)> submit_inline_callback_) { if (is_inline) { @@ -128,7 +129,7 @@ void DefaultSoftwareKeyboardApplet::ExitKeyboard() const { } void DefaultSoftwareKeyboardApplet::SubmitNormalText(std::u16string text) const { - submit_normal_callback(Service::AM::Applets::SwkbdResult::Ok, text); + submit_normal_callback(Service::AM::Applets::SwkbdResult::Ok, text, true); } void DefaultSoftwareKeyboardApplet::SubmitInlineText(std::u16string_view text) const { |