This version of Unity is unsupported.

XRInputSubsystem.TryGetInputDevices

public bool TryGetInputDevices(List<InputDevice> devices);

Parameters

devicesThe list of devices reported by this subsystem.

Returns

bool True, if the XRInputSubsystem retrieves any devices. Returns false otherwise.

Description

Gets a list of all connected InputDevices reported by this XRInputSubsystem.