diff options
Diffstat (limited to 'src/core/hle/service/hid/hid_server.h')
| -rw-r--r-- | src/core/hle/service/hid/hid_server.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/hle/service/hid/hid_server.h b/src/core/hle/service/hid/hid_server.h index 0767bb91b7..9bb62fabc4 100644 --- a/src/core/hle/service/hid/hid_server.h +++ b/src/core/hle/service/hid/hid_server.h @@ -189,11 +189,14 @@ private: Result SendVibrationValueInBool(bool is_vibrating, Core::HID::VibrationDeviceHandle vibration_device_handle, ClientAppletResourceUserId aruid); - // Switch 2 sends vibration every frame with 214 (pointer buffers of device handles and - // values, like 206); Eden doesn't emulate vibration, so accept and drop it. - Result SendNx2VibrationValues(); + // Switch 2 sends vibration every frame with 214: pointer buffers of device handles and values + // like 206, but the aruid is raw data after an unknown u64 instead of a sent process id. + Result SendNx2VibrationValues( + u64 unknown, AppletResourceUserId aruid, + InArray<Core::HID::VibrationDeviceHandle, BufferAttr_HipcPointer> vibration_handles, + InArray<Core::HID::VibrationValue, BufferAttr_HipcPointer> vibration_values); // 213 (32 bytes, aruid): sent per controller every frame by Kirby Air Riders (tens of - // thousands of auto stub log lines a run); no reply data. Accepted and dropped like 214. + // thousands of auto stub log lines a run); no reply data. Accepted and dropped. Result Unknown213(); // 220 (16 bytes, aruid): replies one byte (meaning unknown); answer 0 instead of leaving it to // the message buffer's leftovers. |
