Merge pull request #4903 from leoetlino/usb-kbd-stub
IOS/USB_KBD: Re-add the Write stub handler
This commit is contained in:
commit
047394c099
|
@ -62,6 +62,12 @@ ReturnCode USB_KBD::Open(const OpenRequest& request)
|
|||
return IPC_SUCCESS;
|
||||
}
|
||||
|
||||
IPCCommandResult USB_KBD::Write(const ReadWriteRequest& request)
|
||||
{
|
||||
// Stubbed.
|
||||
return GetDefaultReply(IPC_SUCCESS);
|
||||
}
|
||||
|
||||
IPCCommandResult USB_KBD::IOCtl(const IOCtlRequest& request)
|
||||
{
|
||||
if (SConfig::GetInstance().m_WiiKeyboard && !Core::g_want_determinism && !m_MessageQueue.empty())
|
||||
|
|
|
@ -23,6 +23,7 @@ public:
|
|||
USB_KBD(u32 device_id, const std::string& device_name);
|
||||
|
||||
ReturnCode Open(const OpenRequest& request) override;
|
||||
IPCCommandResult Write(const ReadWriteRequest& request) override;
|
||||
IPCCommandResult IOCtl(const IOCtlRequest& request) override;
|
||||
void Update() override;
|
||||
|
||||
|
|
Loading…
Reference in New Issue