mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
Merge pull request #5908 from Morph1984/swkbd-finalize
software_keyboard: Implement Finalize request command
This commit is contained in:
commit
f06c3f4907
1 changed files with 4 additions and 0 deletions
|
@ -121,6 +121,10 @@ void SoftwareKeyboard::ExecuteInteractive() {
|
|||
std::memcpy(&request, data.data(), sizeof(Request));
|
||||
|
||||
switch (request) {
|
||||
case Request::Finalize:
|
||||
complete = true;
|
||||
broker.SignalStateChanged();
|
||||
break;
|
||||
case Request::Calc: {
|
||||
broker.PushNormalDataFromApplet(std::make_shared<IStorage>(system, std::vector<u8>{1}));
|
||||
broker.SignalStateChanged();
|
||||
|
|
Loading…
Reference in a new issue