mirror of
https://github.com/thejerf/baijiSteamVR.git
synced 2026-10-25 14:02:02 +01:00
s_controller_write_payload_size needs to remain an atomic because Read() loads and stores without holding a mutex, Output() stores while holding s_write_mutex, and ResetRumble() stores while holding s_read_mutex! I'm pretty sure this code is wrong, specifically ResetRumble().