PsychOpenXRCore(‘Controllers’)
Psychtoolbox>PsychOpenXRCore.{mex*} subfunction
controllerTypes = PsychOpenXRCore(‘Controllers’, openxrPtr);
Return currently available and active controllers for OpenXR device ‘openxrPtr’.
The returned ‘controllerTypes’ can be the logical OR of one of these flags:
OVR.ControllerType_LTouch = Left touch controller (Left tracked hand).
OVR.ControllerType_RTouch = Right touch controller (Right tracked hand).
OVR.ControllerType_Remote = Connected remote control or similar, e.g., control
buttons on a HMD.
OVR.ControllerType_XBox = Microsoft XBox controller or some equivalent gamepad.
###See also: GetInputState HapticPulse