Class OpenVRDeviceManager
Manages Open VR Devices using unity's input system.
Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Input
Assembly: cs.temp.dll.dll
Syntax
public class OpenVRDeviceManager : UnityJoystickManager, IMixedRealityCapabilityCheck, UnityJoystickManager
  Constructors
OpenVRDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public OpenVRDeviceManager(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider.  | 
      
| String | name | Friendly name of the service.  | 
      
| UInt32 | priority | Service priority. Used to determine order of instantiation.  | 
      
| BaseMixedRealityProfile | profile | The service's configuration profile.  | 
      
OpenVRDeviceManager(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public OpenVRDeviceManager(IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider.  | 
      
| String | name | Friendly name of the service.  | 
      
| UInt32 | priority | Service priority. Used to determine order of instantiation.  | 
      
| BaseMixedRealityProfile | profile | The service's configuration profile.  | 
      
OpenVRDeviceManager(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public OpenVRDeviceManager(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the data provider.  | 
      
| IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider.  | 
      
| String | name | Friendly name of the service.  | 
      
| UInt32 | priority | Service priority. Used to determine order of instantiation.  | 
      
| BaseMixedRealityProfile | profile | The service's configuration profile.  | 
      
OpenVRDeviceManager(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public OpenVRDeviceManager(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name = null, uint priority = default(uint), BaseMixedRealityProfile profile = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the data provider.  | 
      
| IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider.  | 
      
| String | name | Friendly name of the service.  | 
      
| UInt32 | priority | Service priority. Used to determine order of instantiation.  | 
      
| BaseMixedRealityProfile | profile | The service's configuration profile.  | 
      
Methods
CheckCapability(MixedRealityCapability)
Declaration
public bool CheckCapability(MixedRealityCapability capability)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MixedRealityCapability | capability | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
CheckCapability(MixedRealityCapability)
Declaration
public bool CheckCapability(MixedRealityCapability capability)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MixedRealityCapability | capability | 
Returns
| Type | Description | 
|---|---|
| Boolean | 
GetCurrentControllerType(String)
Declaration
protected override SupportedControllerType GetCurrentControllerType(string joystickName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | joystickName | 
Returns
| Type | Description | 
|---|---|
| SupportedControllerType | 
GetCurrentControllerType(String)
Declaration
protected override SupportedControllerType GetCurrentControllerType(string joystickName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | joystickName | 
Returns
| Type | Description | 
|---|---|
| SupportedControllerType | 
GetOrAddController(String)
Declaration
protected override GenericJoystickController GetOrAddController(string joystickName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | joystickName | 
Returns
| Type | Description | 
|---|---|
| GenericJoystickController | 
GetOrAddController(String)
Declaration
protected override GenericJoystickController GetOrAddController(string joystickName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | joystickName | 
Returns
| Type | Description | 
|---|---|
| GenericJoystickController | 
RemoveController(String)
Declaration
protected override void RemoveController(string joystickName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | joystickName | 
RemoveController(String)
Declaration
protected override void RemoveController(string joystickName)
  Parameters
| Type | Name | Description | 
|---|---|---|
| String | joystickName |