Skip to content
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

Missing VREvent_t and ButtonMaskFromId in openvr_capi.h #31

Open
lukexi opened this issue Oct 14, 2015 · 0 comments
Open

Missing VREvent_t and ButtonMaskFromId in openvr_capi.h #31

lukexi opened this issue Oct 14, 2015 · 0 comments
Assignees

Comments

@lukexi
Copy link

lukexi commented Oct 14, 2015

I'm able to work around this by pasting these in manually after the #include.

struct VREvent_t
{
  EVREventType eventType;
  TrackedDeviceIndex_t trackedDeviceIndex;
  VREvent_Data_t data;
  float eventAgeSeconds;
};

inline uint64_t ButtonMaskFromId( EVRButtonId id ) { return 1ull << id; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants