Closed elect86 closed 7 years ago
Yep (getter and setter), search the same header for "mouse" and find it talking about "simulated mouse events in overlay space".
Thanks Christopher, I managed somehow to get a basic sample working..
And what about the touchpad? is there a way to get the position of the user finger on it without an overlay?
These events are sent to overlays with the VROverlayFlags_SendVRTouchpadEvents flag set. If you want to interpret the touchpad as mouse input outside the context of an overlay, you'll need to do that from the raw input data in GetControllerState.
Clear, thanks!
I see from the
openvr.h
How can I set the controller in mouse input mode? Does this have anything to do with overlays?