ControllerInfo #

ControllerInfo exposes information about connected gamepads and controllers. It should be used to respond to controller connect / disconnect events, and extracting static information about controllers (unique identifiers, button and axis counts, left vs right hand, etc). For controller button states and poses, rely on React VR's input events and ray caster systems.

Methods #

getControllers() #

Get the current information from all connected controllers. Resolves with an array of controller information objects. Returns a promise

You can file an issue on GitHub if you see a typo or error on this page!