XRSDKDeviceManager.GetInputSourceType(SupportedControllerType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The enum value of the currently detected controller's InputSource type.