Open lukexi opened 8 years ago
Ah, and we're also missing the associated VREvent_Notification_t
, VREvent_Overlay_t
, VREvent_Status_t
, VREvent_Keyboard_t
, VREvent_Ipd_t
and VREvent_Chaperone_t
types.
In 2018 this is still an issue.
I was scratching my head why I was getting garbage data from the events until I compared:
replacing the union in openvr_capi.h with the one in openvr.h makes events work. Thanks, lukexi for documenting this issue.
Unrelated to this issue but the actual fix for my issue was not the union, but if anyone else stumbles here: the pragma below that I also copied over in my test was the actual fix for my issue.
openvr_capi.h
is missing 6 of the newer fields inVREvent_Data_t
fromopenvr.h
:https://github.com/ValveSoftware/openvr/blob/master/headers/openvr_capi.h#L71
Versus the version in
openvr.h
https://github.com/ValveSoftware/openvr/blob/master/headers/openvr.h#L509See also #31 — the
VREvent_t
type is missing entirely inopenvr_capi.h
Thanks!