Show / Hide Table of Contents

Class HVRInputManager

Inheritance
System.Object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
HVRInputManager
Inherited Members
UnityEngine.MonoBehaviour.IsInvoking()
UnityEngine.MonoBehaviour.CancelInvoke()
UnityEngine.MonoBehaviour.Invoke(System.String, System.Single)
UnityEngine.MonoBehaviour.InvokeRepeating(System.String, System.Single, System.Single)
UnityEngine.MonoBehaviour.CancelInvoke(System.String)
UnityEngine.MonoBehaviour.IsInvoking(System.String)
UnityEngine.MonoBehaviour.StartCoroutine(System.String)
UnityEngine.MonoBehaviour.StartCoroutine(System.String, System.Object)
UnityEngine.MonoBehaviour.StartCoroutine(System.Collections.IEnumerator)
UnityEngine.MonoBehaviour.StartCoroutine_Auto(System.Collections.IEnumerator)
UnityEngine.MonoBehaviour.StopCoroutine(System.Collections.IEnumerator)
UnityEngine.MonoBehaviour.StopCoroutine(UnityEngine.Coroutine)
UnityEngine.MonoBehaviour.StopCoroutine(System.String)
UnityEngine.MonoBehaviour.StopAllCoroutines()
UnityEngine.MonoBehaviour.print(System.Object)
UnityEngine.MonoBehaviour.useGUILayout
UnityEngine.MonoBehaviour.runInEditMode
UnityEngine.Behaviour.enabled
UnityEngine.Behaviour.isActiveAndEnabled
UnityEngine.Component.GetComponent(System.Type)
UnityEngine.Component.GetComponent<T>()
UnityEngine.Component.TryGetComponent(System.Type, UnityEngine.Component)
UnityEngine.Component.TryGetComponent<T>(T)
UnityEngine.Component.GetComponent(System.String)
UnityEngine.Component.GetComponentInChildren(System.Type, System.Boolean)
UnityEngine.Component.GetComponentInChildren(System.Type)
UnityEngine.Component.GetComponentInChildren<T>(System.Boolean)
UnityEngine.Component.GetComponentInChildren<T>()
UnityEngine.Component.GetComponentsInChildren(System.Type, System.Boolean)
UnityEngine.Component.GetComponentsInChildren(System.Type)
UnityEngine.Component.GetComponentsInChildren<T>(System.Boolean)
UnityEngine.Component.GetComponentsInChildren<T>(System.Boolean, System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponentsInChildren<T>()
UnityEngine.Component.GetComponentsInChildren<T>(System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponentInParent(System.Type)
UnityEngine.Component.GetComponentInParent<T>()
UnityEngine.Component.GetComponentsInParent(System.Type, System.Boolean)
UnityEngine.Component.GetComponentsInParent(System.Type)
UnityEngine.Component.GetComponentsInParent<T>(System.Boolean)
UnityEngine.Component.GetComponentsInParent<T>(System.Boolean, System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponentsInParent<T>()
UnityEngine.Component.GetComponents(System.Type)
UnityEngine.Component.GetComponents(System.Type, System.Collections.Generic.List<UnityEngine.Component>)
UnityEngine.Component.GetComponents<T>(System.Collections.Generic.List<T>)
UnityEngine.Component.GetComponents<T>()
UnityEngine.Component.CompareTag(System.String)
UnityEngine.Component.SendMessageUpwards(System.String, System.Object, UnityEngine.SendMessageOptions)
UnityEngine.Component.SendMessageUpwards(System.String, System.Object)
UnityEngine.Component.SendMessageUpwards(System.String)
UnityEngine.Component.SendMessageUpwards(System.String, UnityEngine.SendMessageOptions)
UnityEngine.Component.SendMessage(System.String, System.Object)
UnityEngine.Component.SendMessage(System.String)
UnityEngine.Component.SendMessage(System.String, System.Object, UnityEngine.SendMessageOptions)
UnityEngine.Component.SendMessage(System.String, UnityEngine.SendMessageOptions)
UnityEngine.Component.BroadcastMessage(System.String, System.Object, UnityEngine.SendMessageOptions)
UnityEngine.Component.BroadcastMessage(System.String, System.Object)
UnityEngine.Component.BroadcastMessage(System.String)
UnityEngine.Component.BroadcastMessage(System.String, UnityEngine.SendMessageOptions)
UnityEngine.Component.transform
UnityEngine.Component.gameObject
UnityEngine.Component.tag
UnityEngine.Object.GetInstanceID()
UnityEngine.Object.GetHashCode()
UnityEngine.Object.Equals(System.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Instantiate<T>(T)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
UnityEngine.Object.Destroy(UnityEngine.Object)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
UnityEngine.Object.FindObjectsOfType(System.Type)
UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
UnityEngine.Object.DestroyObject(UnityEngine.Object)
UnityEngine.Object.FindSceneObjectsOfType(System.Type)
UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
UnityEngine.Object.FindObjectsOfType<T>()
UnityEngine.Object.FindObjectOfType<T>()
UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
UnityEngine.Object.FindObjectOfType(System.Type)
UnityEngine.Object.ToString()
UnityEngine.Object.name
UnityEngine.Object.hideFlags
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: HurricaneVR.Framework.ControllerInput
Assembly: HurricaneVR.Framework.dll
Syntax
public class HVRInputManager : MonoBehaviour

Fields

| Improve this Doc View Source

ControllerOffsets

Declaration
[Tooltip("Device / SDK controller offsets")]
public HVRControllerOffsets ControllerOffsets
Field Value
Type Description
HVRControllerOffsets
| Improve this Doc View Source

Cosmos

Declaration
public const string Cosmos = "cosmos"
Field Value
Type Description
System.String
| Improve this Doc View Source

CosmosDeadzone

Declaration
[Tooltip("Cosmos device deadzone, if any.")]
public Vector2 CosmosDeadzone
Field Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

CosmosInputMap

Declaration
public HVRInputSettings CosmosInputMap
Field Value
Type Description
HVRInputSettings
| Improve this Doc View Source

CurrentSDK

Declaration
[Header("Debugging")]
public InputSDK CurrentSDK
Field Value
Type Description
InputSDK
| Improve this Doc View Source

DeadzoneOverride

Declaration
[Tooltip("Master deadzone, useful if you want the user to set.")]
public Vector2 DeadzoneOverride
Field Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

FingerSettings

Declaration
[Tooltip("Finger Curl Settings, defaults created if not supplied")]
public HVRFingerSettings FingerSettings
Field Value
Type Description
HVRFingerSettings
| Improve this Doc View Source

ForceOVRInputUpdate

Declaration
[Tooltip("If using OVRInput for Oculus devices without OVRManager in the scene then set this to true.")]
public bool ForceOVRInputUpdate
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

G2

Declaration
public const string G2 = "g2"
Field Value
Type Description
System.String
| Improve this Doc View Source

GrabHaptics

Declaration
[Tooltip("Haptics Settings")]
public HVRGrabHaptics GrabHaptics
Field Value
Type Description
HVRGrabHaptics
| Improve this Doc View Source

HMDActivated

Declaration
public UnityEvent HMDActivated
Field Value
Type Description
UnityEngine.Events.UnityEvent
| Improve this Doc View Source

HMDDeactivated

Declaration
public UnityEvent HMDDeactivated
Field Value
Type Description
UnityEngine.Events.UnityEvent
| Improve this Doc View Source

HMDFeatures

Declaration
public List<string> HMDFeatures
Field Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

HMDFirstActivation

Declaration
public UnityEvent HMDFirstActivation
Field Value
Type Description
UnityEngine.Events.UnityEvent
| Improve this Doc View Source

HMDManufacturer

Declaration
public string HMDManufacturer
Field Value
Type Description
System.String
| Improve this Doc View Source

HMDName

Declaration
public string HMDName
Field Value
Type Description
System.String
| Improve this Doc View Source

hmdpos

Declaration
public Vector3 hmdpos
Field Value
Type Description
UnityEngine.Vector3
| Improve this Doc View Source

HMDRecentered

Declaration
public UnityEvent HMDRecentered
Field Value
Type Description
UnityEngine.Events.UnityEvent
| Improve this Doc View Source

HTC

Declaration
public const string HTC = "htc"
Field Value
Type Description
System.String
| Improve this Doc View Source

InitializeSteamVR

Declaration
[Header("SteamVR - Requires SteamVR + Integration")]
public bool InitializeSteamVR
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

InitializeSteamVRActions

Declaration
public bool InitializeSteamVRActions
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Knuckles

Declaration
public const string Knuckles = "knuckles"
Field Value
Type Description
System.String
| Improve this Doc View Source

KnucklesDeadzone

Declaration
[Tooltip("Knuckles device deadzone, if any.")]
public Vector2 KnucklesDeadzone
Field Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

KnucklesInputMap

Declaration
public HVRInputSettings KnucklesInputMap
Field Value
Type Description
HVRInputSettings
| Improve this Doc View Source

KnucklesOpenXR

Declaration
public const string KnucklesOpenXR = "index controller"
Field Value
Type Description
System.String
| Improve this Doc View Source

LeftController

Declaration
public HVRController LeftController
Field Value
Type Description
HVRController
| Improve this Doc View Source

LeftControllerConnected

Declaration
public HVRControllerEvent LeftControllerConnected
Field Value
Type Description
HVRControllerEvent
| Improve this Doc View Source

LeftControllerName

Declaration
public string LeftControllerName
Field Value
Type Description
System.String
| Improve this Doc View Source

LeftFeatures

Declaration
public List<string> LeftFeatures
Field Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

LeftInputSystemController

Declaration
public HVRController LeftInputSystemController
Field Value
Type Description
HVRController
| Improve this Doc View Source

LeftManufacturer

Declaration
public string LeftManufacturer
Field Value
Type Description
System.String
| Improve this Doc View Source

LeftOculusController

Declaration
public HVRController LeftOculusController
Field Value
Type Description
HVRController
| Improve this Doc View Source

LeftSteamController

Declaration
public HVRController LeftSteamController
Field Value
Type Description
HVRController
| Improve this Doc View Source

LeftXRInputController

Declaration
public HVRController LeftXRInputController
Field Value
Type Description
HVRController
| Improve this Doc View Source

LegacyActive

Declaration
public bool LegacyActive
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

LegacyNone

Declaration
public const string LegacyNone = "None"
Field Value
Type Description
System.String
| Improve this Doc View Source

LegacyOculusName

Declaration
public const string LegacyOculusName = "Oculus"
Field Value
Type Description
System.String
| Improve this Doc View Source

LegacyOpenVRName

Declaration
public const string LegacyOpenVRName = "OpenVR"
Field Value
Type Description
System.String
| Improve this Doc View Source

Oculus

Declaration
public const string Oculus = "oculus"
Field Value
Type Description
System.String
| Improve this Doc View Source

OculusDeadzone

Declaration
[Tooltip("Oculus device deadzone, if any.")]
public Vector2 OculusDeadzone
Field Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

OculusInputMap

Declaration
public HVRInputSettings OculusInputMap
Field Value
Type Description
HVRInputSettings
| Improve this Doc View Source

OculusLoader

Declaration
public string OculusLoader
Field Value
Type Description
System.String
| Improve this Doc View Source

OpenVRController

Declaration
public const string OpenVRController = "openvr"
Field Value
Type Description
System.String
| Improve this Doc View Source

OpenVRLoader

Declaration
[Header("XR Plugin Detection Names")]
public string OpenVRLoader
Field Value
Type Description
System.String
| Improve this Doc View Source

OpenXR_G2

Declaration
public const string OpenXR_G2 = "hp reverb g2 controller"
Field Value
Type Description
System.String
| Improve this Doc View Source

OpenXRLoader

Declaration
public string OpenXRLoader
Field Value
Type Description
System.String
| Improve this Doc View Source

OverrideDeadzone

Declaration
[Tooltip("Override provider level deadzone.")]
public bool OverrideDeadzone
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

OVRHaptics

Declaration
[Tooltip("If set to true, OVRManager is required to be in your scene")]
public bool OVRHaptics
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Reverb

Declaration
public const string Reverb = "reverb"
Field Value
Type Description
System.String
| Improve this Doc View Source

ReverbG2InputMap

Declaration
[FormerlySerializedAs("WMRWithButtonsInputMap")]
public HVRInputSettings ReverbG2InputMap
Field Value
Type Description
HVRInputSettings
| Improve this Doc View Source

RightController

Declaration
public HVRController RightController
Field Value
Type Description
HVRController
| Improve this Doc View Source

RightControllerConnected

Declaration
public HVRControllerEvent RightControllerConnected
Field Value
Type Description
HVRControllerEvent
| Improve this Doc View Source

RightControllerName

Declaration
public string RightControllerName
Field Value
Type Description
System.String
| Improve this Doc View Source

RightFeatures

Declaration
public List<string> RightFeatures
Field Value
Type Description
System.Collections.Generic.List<System.String>
| Improve this Doc View Source

RightInputSystemController

Declaration
public HVRController RightInputSystemController
Field Value
Type Description
HVRController
| Improve this Doc View Source

RightManufacturer

Declaration
public string RightManufacturer
Field Value
Type Description
System.String
| Improve this Doc View Source

RightOculusController

Declaration
public HVRController RightOculusController
Field Value
Type Description
HVRController
| Improve this Doc View Source

RightSteamController

Declaration
public HVRController RightSteamController
Field Value
Type Description
HVRController
| Improve this Doc View Source

RightXRInputController

Declaration
public HVRController RightXRInputController
Field Value
Type Description
HVRController
| Improve this Doc View Source

TrackingSpace

Declaration
public TrackingOriginModeFlags TrackingSpace
Field Value
Type Description
UnityEngine.XR.TrackingOriginModeFlags
| Improve this Doc View Source

UseNewInputSystem

Declaration
[Header("Input Settings")]
[Tooltip("If true uses the new input system bindings")]
public bool UseNewInputSystem
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

UseOVRInputs

Declaration
[Header("Oculus - Requires Oculus Asset + Integration")]
[Tooltip("If true ovrinputs will be used")]
public bool UseOVRInputs
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

UserNotSensed

Declaration
public UnityEvent UserNotSensed
Field Value
Type Description
UnityEngine.Events.UnityEvent
| Improve this Doc View Source

UserSensed

Declaration
public UnityEvent UserSensed
Field Value
Type Description
UnityEngine.Events.UnityEvent
| Improve this Doc View Source

Vive

Declaration
public const string Vive = "vive"
Field Value
Type Description
System.String
| Improve this Doc View Source

ViveDeadzone

Declaration
[Tooltip("Vive device deadzone, if any.")]
public Vector2 ViveDeadzone
Field Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

ViveInputMap

Declaration
public HVRInputSettings ViveInputMap
Field Value
Type Description
HVRInputSettings
| Improve this Doc View Source

VRPlugin

Declaration
public VRMode VRPlugin
Field Value
Type Description
VRMode
| Improve this Doc View Source

WindowsMR

Declaration
public const string WindowsMR = "windowsmr"
Field Value
Type Description
System.String
| Improve this Doc View Source

WindowsMROpenXR

Declaration
public const string WindowsMROpenXR = "windows mr controller"
Field Value
Type Description
System.String
| Improve this Doc View Source

WMRController

Declaration
public const string WMRController = "spatial"
Field Value
Type Description
System.String
| Improve this Doc View Source

WMRDeadzone

Declaration
[Header("Deadzones")]
[Tooltip("WMR device deadzone, if any.")]
public Vector2 WMRDeadzone
Field Value
Type Description
UnityEngine.Vector2
| Improve this Doc View Source

WMRInputMap

Declaration
[Header("Device Specific Settings")]
public HVRInputSettings WMRInputMap
Field Value
Type Description
HVRInputSettings
| Improve this Doc View Source

WMRLoader

Declaration
public string WMRLoader
Field Value
Type Description
System.String
| Improve this Doc View Source

XRPluginActive

Declaration
public bool XRPluginActive
Field Value
Type Description
System.Boolean

Properties

| Improve this Doc View Source

HMDActive

Declaration
public bool HMDActive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

HMDDevice

Declaration
public InputDevice HMDDevice { get; }
Property Value
Type Description
UnityEngine.XR.InputDevice
| Improve this Doc View Source

Instance

Declaration
public static HVRInputManager Instance { get; }
Property Value
Type Description
HVRInputManager
| Improve this Doc View Source

IsOpenXR

Declaration
public bool IsOpenXR { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsSteamVR

Declaration
public bool IsSteamVR { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsVRInitialized

Declaration
public bool IsVRInitialized { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LeftDevice

Declaration
public InputDevice LeftDevice { get; }
Property Value
Type Description
UnityEngine.XR.InputDevice
| Improve this Doc View Source

PreviousHMDActive

Declaration
public bool PreviousHMDActive { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

PreviousUserPresent

Declaration
public bool PreviousUserPresent { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

RightDevice

Declaration
public InputDevice RightDevice { get; }
Property Value
Type Description
UnityEngine.XR.InputDevice
| Improve this Doc View Source

UserPresent

Declaration
public bool UserPresent { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

XRPluginLoader

Declaration
public string XRPluginLoader { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ApplyTrackingOrigin()

Declaration
public void ApplyTrackingOrigin()
| Improve this Doc View Source

GetController(HVRHandSide)

Declaration
public HVRController GetController(HVRHandSide side)
Parameters
Type Name Description
HVRHandSide side
Returns
Type Description
HVRController
| Improve this Doc View Source

GetDevice(HVRHandSide)

Declaration
public InputDevice GetDevice(HVRHandSide side)
Parameters
Type Name Description
HVRHandSide side
Returns
Type Description
UnityEngine.XR.InputDevice
| Improve this Doc View Source

GetSDK()

Declaration
public void GetSDK()
| Improve this Doc View Source

Initialize()

sets up steamvr if necessary, set up controller objects, applies tracking origin

Declaration
public void Initialize()
| Improve this Doc View Source

StartLegacyVR(Action<Boolean>)

Starting requires a coroutine, the callback will be fired with true for success, and false for failure

Declaration
public void StartLegacyVR(Action<bool> callback = null)
Parameters
Type Name Description
System.Action<System.Boolean> callback
| Improve this Doc View Source

StartXR()

Declaration
public bool StartXR()
Returns
Type Description
System.Boolean
| Improve this Doc View Source

StopXR()

Declaration
public void StopXR()

Extension Methods

HVRUtilities.GetRelativeValues(Component, Transform, out Vector3, out Quaternion)
HVRUtilities.GetRelativeValues(Component, Component, out Vector3, out Quaternion)
HVRUtilities.GetRelativeRotation(Component, Quaternion)
VRUtilities.GetRigidbody(MonoBehaviour)
VRUtilities.GetCopyOf<T>(Component, T)
CoroutineExtensions.ExecuteNextUpdate(MonoBehaviour, Action)
CoroutineExtensions.ExecuteAfterSeconds(MonoBehaviour, Action, Single)
CoroutineExtensions.ExecuteAfterSecondsUnscaled(MonoBehaviour, Action, Single)
CoroutineExtensions.ExecuteAfterFixedUpdate(MonoBehaviour, Action)
CoroutineExtensions.ExecuteAfterFixedUpdates(MonoBehaviour, Action, Int32)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX