Editar

OpenVRDeviceManager.GetCurrentControllerType(String) Method

Definition

Gets the current controller type for the joystick name provided.

protected:
 override Microsoft::MixedReality::Toolkit::Input::SupportedControllerType GetCurrentControllerType(System::String ^ joystickName);
protected override Microsoft.MixedReality.Toolkit.Input.SupportedControllerType GetCurrentControllerType (string joystickName);
override this.GetCurrentControllerType : string -> Microsoft.MixedReality.Toolkit.Input.SupportedControllerType
Protected Overrides Function GetCurrentControllerType (joystickName As String) As SupportedControllerType

Parameters

joystickName
String

The name of the joystick from Unity's Input.GetJoystickNames

Returns

The supported controller type

Applies to