diff options
| author | cirakg <cirakg@cirakg.xyz> | 2026-11-03 21:58:24 +0100 |
|---|---|---|
| committer | cirakg <cirakg@cirakg.xyz> | 2026-11-03 21:58:24 +0100 |
| commit | cdfb1ae93444c0aa02dfe592af36d70ab36549fd (patch) | |
| tree | 2fa8d7062d907d5ab8d85d64c66be87ea4cdf0d1 /src/core/hle/service/hid/hid_server.h | |
| parent | 51341ec09b25de1d9b01d0c00ee828dd5b861d5c (diff) | |
| parent | 4383b9787afbf6c63291bf803c8330afb4f21a16 (diff) | |
# Conflicts:
# .github/workflows/release-binaries.yml
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. |
