Merge pull request #5908 from Morph1984/swkbd-finalize

software_keyboard: Implement Finalize request command
This commit is contained in:
bunnei 2021-02-10 21:49:53 -08:00 committed by GitHub
commit f06c3f4907
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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();