summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Morph2022-07-24 07:21:02 -0400
committerGravatar Morph2022-07-24 07:21:02 -0400
commitbee823db3a4c464cea910c7db7f208ab7f64030f (patch)
tree302c3784cebbe6851049baafd4d8f615b872f100 /src/core/hle
parentMerge pull request #8545 from Kelebek1/Audio (diff)
downloadyuzu-bee823db3a4c464cea910c7db7f208ab7f64030f.tar.gz
yuzu-bee823db3a4c464cea910c7db7f208ab7f64030f.tar.xz
yuzu-bee823db3a4c464cea910c7db7f208ab7f64030f.zip
applet/swkbd: Implement optional symbol keys
These are only used in the numeric keyboard, and correspond to the keys to the left and right of the "0" key on the numeric keyboard.
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/am/applets/applet_software_keyboard.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applets/applet_software_keyboard.cpp b/src/core/hle/service/am/applets/applet_software_keyboard.cpp
index faa092957..c18236045 100644
--- a/src/core/hle/service/am/applets/applet_software_keyboard.cpp
+++ b/src/core/hle/service/am/applets/applet_software_keyboard.cpp
@@ -536,6 +536,8 @@ void SoftwareKeyboard::InitializeFrontendNormalKeyboard() {
536 .sub_text{std::move(sub_text)}, 536 .sub_text{std::move(sub_text)},
537 .guide_text{std::move(guide_text)}, 537 .guide_text{std::move(guide_text)},
538 .initial_text{initial_text}, 538 .initial_text{initial_text},
539 .left_optional_symbol_key{swkbd_config_common.left_optional_symbol_key},
540 .right_optional_symbol_key{swkbd_config_common.right_optional_symbol_key},
539 .max_text_length{max_text_length}, 541 .max_text_length{max_text_length},
540 .min_text_length{min_text_length}, 542 .min_text_length{min_text_length},
541 .initial_cursor_position{initial_cursor_position}, 543 .initial_cursor_position{initial_cursor_position},
@@ -591,6 +593,8 @@ void SoftwareKeyboard::InitializeFrontendInlineKeyboardOld() {
591 .sub_text{}, 593 .sub_text{},
592 .guide_text{}, 594 .guide_text{},
593 .initial_text{current_text}, 595 .initial_text{current_text},
596 .left_optional_symbol_key{appear_arg.left_optional_symbol_key},
597 .right_optional_symbol_key{appear_arg.right_optional_symbol_key},
594 .max_text_length{max_text_length}, 598 .max_text_length{max_text_length},
595 .min_text_length{min_text_length}, 599 .min_text_length{min_text_length},
596 .initial_cursor_position{initial_cursor_position}, 600 .initial_cursor_position{initial_cursor_position},
@@ -632,6 +636,8 @@ void SoftwareKeyboard::InitializeFrontendInlineKeyboardNew() {
632 .sub_text{}, 636 .sub_text{},
633 .guide_text{}, 637 .guide_text{},
634 .initial_text{current_text}, 638 .initial_text{current_text},
639 .left_optional_symbol_key{appear_arg.left_optional_symbol_key},
640 .right_optional_symbol_key{appear_arg.right_optional_symbol_key},
635 .max_text_length{max_text_length}, 641 .max_text_length{max_text_length},
636 .min_text_length{min_text_length}, 642 .min_text_length{min_text_length},
637 .initial_cursor_position{initial_cursor_position}, 643 .initial_cursor_position{initial_cursor_position},