service: hid: Stub SetPalmaBoostMode

This commit is contained in:
german77 2022-10-23 11:25:13 -05:00 committed by Billy Laws
parent 4da934579c
commit cf95cfb056
2 changed files with 12 additions and 1 deletions

View File

@ -248,4 +248,8 @@ namespace skyline::service::hid {
return {};
}
Result IHidServer::SetPalmaBoostMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
return {};
}
}

View File

@ -178,6 +178,12 @@ namespace skyline::service::hid {
*/
Result SendVibrationValues(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
/**
* @brief Sets boost mode to a Palma device
* @url https://switchbrew.org/wiki/HID_services#SetPalmaBoostMode
*/
Result SetPalmaBoostMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
SERVICE_DECL(
SFUNC(0x0, IHidServer, CreateAppletResource),
SFUNC(0x1, IHidServer, ActivateDebugPad),
@ -206,7 +212,8 @@ namespace skyline::service::hid {
SFUNC(0xCB, IHidServer, CreateActiveVibrationDeviceList),
SFUNC(0xC8, IHidServer, GetVibrationDeviceInfo),
SFUNC(0xC9, IHidServer, SendVibrationValue),
SFUNC(0xCE, IHidServer, SendVibrationValues)
SFUNC(0xCE, IHidServer, SendVibrationValues),
SFUNC(0x20D, IHidServer, SetPalmaBoostMode)
)
};
}