mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-01 20:04:17 +01:00
Stub IsVibrationPermitted
This commit is contained in:
parent
51d1f519af
commit
5f510d84d7
@ -254,6 +254,11 @@ namespace skyline::service::hid {
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result IHidServer::IsVibrationPermitted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
|
response.Push<u8>(0);
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
Result IHidServer::SetPalmaBoostMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
Result IHidServer::SetPalmaBoostMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
@ -183,6 +183,11 @@ namespace skyline::service::hid {
|
|||||||
*/
|
*/
|
||||||
Result SendVibrationValues(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
Result SendVibrationValues(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @url https://switchbrew.org/wiki/HID_services#IsVibrationPermitted
|
||||||
|
*/
|
||||||
|
Result IsVibrationPermitted(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets boost mode to a Palma device
|
* @brief Sets boost mode to a Palma device
|
||||||
* @url https://switchbrew.org/wiki/HID_services#SetPalmaBoostMode
|
* @url https://switchbrew.org/wiki/HID_services#SetPalmaBoostMode
|
||||||
@ -219,6 +224,7 @@ namespace skyline::service::hid {
|
|||||||
SFUNC(0xC8, IHidServer, GetVibrationDeviceInfo),
|
SFUNC(0xC8, IHidServer, GetVibrationDeviceInfo),
|
||||||
SFUNC(0xC9, IHidServer, SendVibrationValue),
|
SFUNC(0xC9, IHidServer, SendVibrationValue),
|
||||||
SFUNC(0xCE, IHidServer, SendVibrationValues),
|
SFUNC(0xCE, IHidServer, SendVibrationValues),
|
||||||
|
SFUNC(0xCD, IHidServer, IsVibrationPermitted),
|
||||||
SFUNC(0x20D, IHidServer, SetPalmaBoostMode)
|
SFUNC(0x20D, IHidServer, SetPalmaBoostMode)
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user