[Applets] Properly expose nextParameter
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
using namespace Applets;
|
||||
|
||||
AppletManager::AppletManager(Memory& mem) : miiSelector(mem), swkbd(mem) {}
|
||||
AppletManager::AppletManager(Memory& mem) : miiSelector(mem, nextParameter), swkbd(mem, nextParameter) {}
|
||||
|
||||
void AppletManager::reset() {
|
||||
miiSelector.reset();
|
||||
|
||||
@@ -7,5 +7,14 @@ Result::HorizonResult SoftwareKeyboardApplet::start() { return Result::Success;
|
||||
|
||||
Result::HorizonResult SoftwareKeyboardApplet::receiveParameter() {
|
||||
Helpers::warn("Software keyboard: Unimplemented ReceiveParameter");
|
||||
|
||||
Applets::Parameter param = Applets::Parameter{
|
||||
.senderID = AppletIDs::SoftwareKeyboard,
|
||||
.destID = AppletIDs::Application,
|
||||
.signal = APTSignal::Response,
|
||||
.data = {},
|
||||
};
|
||||
|
||||
nextParameter = param;
|
||||
return Result::Success;
|
||||
}
|
||||
Reference in New Issue
Block a user