Stub hid::ActivateMouse and hid::ActivateKeyboard

Co-Authored-By: Timotej Leginus <35149140+timleg002@users.noreply.github.com>
This commit is contained in:
lynxnb 2022-10-07 19:31:50 +02:00 committed by Billy Laws
parent 45830633eb
commit d4800d13b8
2 changed files with 20 additions and 0 deletions

View File

@ -25,6 +25,14 @@ namespace skyline::service::hid {
return {};
}
Result IHidServer::ActivateMouse(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
return {};
}
Result IHidServer::ActivateKeyboard(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
return {};
}
Result IHidServer::StartSixAxisSensor(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
return {};
}

View File

@ -35,6 +35,16 @@ namespace skyline::service::hid {
*/
Result ActivateTouchScreen(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
/**
* @brief Activates the mouse
*/
Result ActivateMouse(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
/**
* @brief Activates the keyboard
*/
Result ActivateKeyboard(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
/**
* @brief Starts the Six Axis Sensor for a specific Npad
* @url https://switchbrew.org/wiki/HID_services#StartSixAxisSensor
@ -172,6 +182,8 @@ namespace skyline::service::hid {
SFUNC(0x0, IHidServer, CreateAppletResource),
SFUNC(0x1, IHidServer, ActivateDebugPad),
SFUNC(0xB, IHidServer, ActivateTouchScreen),
SFUNC(0x15, IHidServer, ActivateMouse),
SFUNC(0x1F, IHidServer, ActivateKeyboard),
SFUNC(0x42, IHidServer, StartSixAxisSensor),
SFUNC(0x43, IHidServer, StopSixAxisSensor),
SFUNC(0x64, IHidServer, SetSupportedNpadStyleSet),