The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/ohmd: Use XRT_FREQUENCY_UNSPECIFIED

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2329>

+1 -1
+1 -1
src/xrt/drivers/ohmd/oh_device.c
··· 336 336 float frequency = value->vibration.frequency; 337 337 338 338 // A frequency of 0.0f from OpenXR means to let the driver decide. 339 - if (frequency == 0.0f) { 339 + if (frequency == XRT_FREQUENCY_UNSPECIFIED) { 340 340 frequency = DEFAULT_HAPTIC_FREQ; 341 341 } 342 342