XRSDKDeviceManager.GetInputSourceType(SupportedControllerType) Method

Definition

Returns the InputSourceType of the currently detected controller, based on the SupportedControllerType.

protected:
 virtual Microsoft::MixedReality::Toolkit::Input::InputSourceType GetInputSourceType(Microsoft::MixedReality::Toolkit::Input::SupportedControllerType supportedControllerType);
protected virtual Microsoft.MixedReality.Toolkit.Input.InputSourceType GetInputSourceType (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType supportedControllerType);
abstract member GetInputSourceType : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType -> Microsoft.MixedReality.Toolkit.Input.InputSourceType
override this.GetInputSourceType : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType -> Microsoft.MixedReality.Toolkit.Input.InputSourceType
Protected Overridable Function GetInputSourceType (supportedControllerType As SupportedControllerType) As InputSourceType

Parameters

supportedControllerType
SupportedControllerType

The current controller type.

Returns

InputSourceType

The enum value of the currently detected controller's InputSource type.

Applies to