bool HandleControllerOverlayInteractionAsMouse( VROverlayHandle_t ulOverlayHandle, TrackedDeviceIndex_t unControllerDeviceIndex )
Processes mouse input from the specified controller as though it were a mouse pointed at the overlay.
VROverlayHandle_t ulOverlayHandle
- Handle of the overlay to test the controller againstTrackedDeviceIndex_t unControllerDeviceIndex
- Device index of the controller to testDescription
Processes mouse input from the specified controller as though it were a mouse pointed at the overlay. The controller is treated like a laser pointer on the -z axis. The point where the laser pointer would intersect with the overlay is the mouse position, the trigger is left mouse, and the track pad is right mouse.
Returns true if the controller is pointed at the overlay and an event was generated.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4