OculusXRSDKDeviceManager.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:
override Microsoft::MixedReality::Toolkit::Input::InputSourceType GetInputSourceType(Microsoft::MixedReality::Toolkit::Input::SupportedControllerType supportedControllerType);
protected override Microsoft.MixedReality.Toolkit.Input.InputSourceType GetInputSourceType (Microsoft.MixedReality.Toolkit.Input.SupportedControllerType supportedControllerType);
override this.GetInputSourceType : Microsoft.MixedReality.Toolkit.Input.SupportedControllerType -> Microsoft.MixedReality.Toolkit.Input.InputSourceType
Protected Overrides 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.