A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ValveSoftware/openvr/wiki/IVRSystem::HandleControllerOverlayInteractionAsMouse below:

IVRSystem::HandleControllerOverlayInteractionAsMouse · ValveSoftware/openvr Wiki · GitHub

bool HandleControllerOverlayInteractionAsMouse( 
	const vr::Compositor_OverlaySettings & overlaySettings, 
	vr::HmdVector2_t vecWindowClientPositionOnScreen, 
	vr::HmdVector2_t vecWindowClientSize,
	vr::TrackedDeviceIndex_t unControllerDeviceIndex, 
	vr::EVRControllerEventOutputType eOutputType
	)

Processes input from the controller as though it were a mouse pointed at the compositor overlay.

Processes mouse input from the specified controller as though it were a mouse pointed at a compositor overlay with the specified settings. 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. When using system event output the caller should ensure that it has focus so that it receives the system events.

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