-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openvr_capi.h missing newer VREvent_Data_t fields #39
Comments
Ah, and we're also missing the associated |
In 2018 this is still an issue. I was scratching my head why I was getting garbage data from the events until I compared: Lines 1970 to 1986 in 6aacebd
Lines 1012 to 1041 in 6aacebd
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. Lines 1044 to 1048 in 6aacebd
|
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#L509
See also #31 — the
VREvent_t
type is missing entirely inopenvr_capi.h
Thanks!
The text was updated successfully, but these errors were encountered: