enum | Button { Button.None = 0, Button.One = 0x00000001, Button.Two = 0x00000002, Button.Three = 0x00000004, Button.Four = 0x00000008, Button.Start = 0x00000100, Button.Back = 0x00000200, Button.PrimaryShoulder = 0x00001000, Button.PrimaryIndexTrigger = 0x00002000, Button.PrimaryHandTrigger = 0x00004000, Button.PrimaryThumbstick = 0x00008000, Button.PrimaryThumbstickUp = 0x00010000, Button.PrimaryThumbstickDown = 0x00020000, Button.PrimaryThumbstickLeft = 0x00040000, Button.PrimaryThumbstickRight = 0x00080000, Button.PrimaryTouchpad = 0x00000400, Button.SecondaryShoulder = 0x00100000, Button.SecondaryIndexTrigger = 0x00200000, Button.SecondaryHandTrigger = 0x00400000, Button.SecondaryThumbstick = 0x00800000, Button.SecondaryThumbstickUp = 0x01000000, Button.SecondaryThumbstickDown = 0x02000000, Button.SecondaryThumbstickLeft = 0x04000000, Button.SecondaryThumbstickRight = 0x08000000, Button.SecondaryTouchpad = 0x00000800, Button.DpadUp = 0x00000010, Button.DpadDown = 0x00000020, Button.DpadLeft = 0x00000040, Button.DpadRight = 0x00000080, Button.Up = 0x10000000, Button.Down = 0x20000000, Button.Left = 0x40000000, Button.Right = unchecked((int)0x80000000), Button.Any = ~None } Virtual button mappings that allow the same input bindings to work across different controllers. |
enum | RawButton { RawButton.None = 0, RawButton.A = 0x00000001, RawButton.B = 0x00000002, RawButton.X = 0x00000100, RawButton.Y = 0x00000200, RawButton.Start = 0x00100000, RawButton.Back = 0x00200000, RawButton.LShoulder = 0x00000800, RawButton.LIndexTrigger = 0x10000000, RawButton.LHandTrigger = 0x20000000, RawButton.LThumbstick = 0x00000400, RawButton.LThumbstickUp = 0x00000010, RawButton.LThumbstickDown = 0x00000020, RawButton.LThumbstickLeft = 0x00000040, RawButton.LThumbstickRight = 0x00000080, RawButton.LTouchpad = 0x40000000, RawButton.RShoulder = 0x00000008, RawButton.RIndexTrigger = 0x04000000, RawButton.RHandTrigger = 0x08000000, RawButton.RThumbstick = 0x00000004, RawButton.RThumbstickUp = 0x00001000, RawButton.RThumbstickDown = 0x00002000, RawButton.RThumbstickLeft = 0x00004000, RawButton.RThumbstickRight = 0x00008000, RawButton.RTouchpad = unchecked((int)0x80000000), RawButton.DpadUp = 0x00010000, RawButton.DpadDown = 0x00020000, RawButton.DpadLeft = 0x00040000, RawButton.DpadRight = 0x00080000, RawButton.Any = ~None } Raw button mappings that can be used to directly query the state of a controller. |
enum | Touch { Touch.None = 0, Touch.One = Button.One, Touch.Two = Button.Two, Touch.Three = Button.Three, Touch.Four = Button.Four, Touch.PrimaryIndexTrigger = Button.PrimaryIndexTrigger, Touch.PrimaryThumbstick = Button.PrimaryThumbstick, Touch.PrimaryThumbRest = 0x00001000, Touch.PrimaryTouchpad = Button.PrimaryTouchpad, Touch.SecondaryIndexTrigger = Button.SecondaryIndexTrigger, Touch.SecondaryThumbstick = Button.SecondaryThumbstick, Touch.SecondaryThumbRest = 0x00100000, Touch.SecondaryTouchpad = Button.SecondaryTouchpad, Touch.Any = ~None } Virtual capacitive touch mappings that allow the same input bindings to work across different controllers with capacitive touch support. |
enum | RawTouch { RawTouch.None = 0, RawTouch.A = RawButton.A, RawTouch.B = RawButton.B, RawTouch.X = RawButton.X, RawTouch.Y = RawButton.Y, RawTouch.LIndexTrigger = 0x00001000, RawTouch.LThumbstick = RawButton.LThumbstick, RawTouch.LThumbRest = 0x00000800, RawTouch.LTouchpad = RawButton.LTouchpad, RawTouch.RIndexTrigger = 0x00000010, RawTouch.RThumbstick = RawButton.RThumbstick, RawTouch.RThumbRest = 0x00000008, RawTouch.RTouchpad = RawButton.RTouchpad, RawTouch.Any = ~None } Raw capacitive touch mappings that can be used to directly query the state of a controller. |
enum | NearTouch { NearTouch.None = 0, NearTouch.PrimaryIndexTrigger = 0x00000001, NearTouch.PrimaryThumbButtons = 0x00000002, NearTouch.SecondaryIndexTrigger = 0x00000004, NearTouch.SecondaryThumbButtons = 0x00000008, NearTouch.Any = ~None } Virtual near touch mappings that allow the same input bindings to work across different controllers with near touch support. |
enum | RawNearTouch { RawNearTouch.None = 0, RawNearTouch.LIndexTrigger = 0x00000001, RawNearTouch.LThumbButtons = 0x00000002, RawNearTouch.RIndexTrigger = 0x00000004, RawNearTouch.RThumbButtons = 0x00000008, RawNearTouch.Any = ~None } Raw near touch mappings that can be used to directly query the state of a controller. |
enum | Axis1D { Axis1D.None = 0, Axis1D.PrimaryIndexTrigger = 0x01, Axis1D.PrimaryHandTrigger = 0x04, Axis1D.SecondaryIndexTrigger = 0x02, Axis1D.SecondaryHandTrigger = 0x08, Axis1D.Any = ~None } Virtual 1-dimensional axis (float) mappings that allow the same input bindings to work across different controllers. |
enum | RawAxis1D { RawAxis1D.None = 0, RawAxis1D.LIndexTrigger = 0x01, RawAxis1D.LHandTrigger = 0x04, RawAxis1D.RIndexTrigger = 0x02, RawAxis1D.RHandTrigger = 0x08, RawAxis1D.Any = ~None } Raw 1-dimensional axis (float) mappings that can be used to directly query the state of a controller. |
enum | Axis2D { Axis2D.None = 0, Axis2D.PrimaryThumbstick = 0x01, Axis2D.PrimaryTouchpad = 0x04, Axis2D.SecondaryThumbstick = 0x02, Axis2D.SecondaryTouchpad = 0x08, Axis2D.Any = ~None } Virtual 2-dimensional axis (Vector2) mappings that allow the same input bindings to work across different controllers. |
enum | RawAxis2D { RawAxis2D.None = 0, RawAxis2D.LThumbstick = 0x01, RawAxis2D.LTouchpad = 0x04, RawAxis2D.RThumbstick = 0x02, RawAxis2D.RTouchpad = 0x08, RawAxis2D.Any = ~None } Raw 2-dimensional axis (Vector2) mappings that can be used to directly query the state of a controller. |
enum | Controller { Controller.None = OVRPlugin.Controller.None, Controller.LTouch = OVRPlugin.Controller.LTouch, Controller.RTouch = OVRPlugin.Controller.RTouch, Controller.Touch = OVRPlugin.Controller.Touch, Controller.Remote = OVRPlugin.Controller.Remote, Controller.Gamepad = OVRPlugin.Controller.Gamepad, Controller.Touchpad = OVRPlugin.Controller.Touchpad, Controller.LTrackedRemote = OVRPlugin.Controller.LTrackedRemote, Controller.RTrackedRemote = OVRPlugin.Controller.RTrackedRemote, Controller.Active = OVRPlugin.Controller.Active, Controller.All = OVRPlugin.Controller.All } Identifies a controller which can be used to query the virtual or raw input state. |
enum | Handedness { Handedness.Unsupported = OVRPlugin.Handedness.Unsupported, Handedness.LeftHanded = OVRPlugin.Handedness.LeftHanded, Handedness.RightHanded = OVRPlugin.Handedness.RightHanded } |
static readonly float | |
static readonly float | |
static List< OVRControllerBase > | controllers ( ) |
static Controller | |
static Controller | |
static OVRPlugin.Step | stepType ( ) |
static int | fixedUpdateCount ( ) |
static bool | |
static bool | |
static System.Version |
static bool | pluginSupportsActiveController ( ) [Get] |
static void | Update ( ) Updates the internal state of OVRInput. |
static void | FixedUpdate ( ) Updates the internal physics state of OVRInput. |
static bool | GetControllerOrientationTracked ( OVRInput.Controller controllerType ) Returns true if the given Controller's orientation is currently tracked. |
static bool | GetControllerPositionTracked ( OVRInput.Controller controllerType ) Returns true if the given Controller's position is currently tracked. |
static Vector3 | GetLocalControllerPosition ( OVRInput.Controller controllerType ) Gets the position of the given Controller local to its tracking space. |
static Vector3 | GetLocalControllerVelocity ( OVRInput.Controller controllerType ) Gets the linear velocity of the given Controller local to its tracking space. |
static Vector3 | GetLocalControllerAcceleration ( OVRInput.Controller controllerType ) Gets the linear acceleration of the given Controller local to its tracking space. |
static Quaternion | GetLocalControllerRotation ( OVRInput.Controller controllerType ) Gets the rotation of the given Controller local to its tracking space. |
static Vector3 | GetLocalControllerAngularVelocity ( OVRInput.Controller controllerType ) Gets the angular velocity of the given Controller local to its tracking space in radians per second around each axis. |
static Vector3 | GetLocalControllerAngularAcceleration ( OVRInput.Controller controllerType ) Gets the angular acceleration of the given Controller local to its tracking space in radians per second per second around each axis. |
static Handedness | GetDominantHand ( ) Gets the dominant hand that the user has specified in settings, for mobile devices. |
static bool | Gets the current state of the given virtual button mask with the given controller mask. |
static bool | Gets the current state of the given raw button mask with the given controller mask. |
static bool | Gets the current down state of the given virtual button mask with the given controller mask. |
static bool | Gets the current down state of the given raw button mask with the given controller mask. |
static bool | Gets the current up state of the given virtual button mask with the given controller mask. |
static bool | Gets the current up state of the given raw button mask with the given controller mask. |
static bool | Gets the current state of the given virtual touch mask with the given controller mask. |
static bool | Gets the current state of the given raw touch mask with the given controller mask. |
static bool | Gets the current down state of the given virtual touch mask with the given controller mask. |
static bool | Gets the current down state of the given raw touch mask with the given controller mask. |
static bool | Gets the current up state of the given virtual touch mask with the given controller mask. |
static bool | Gets the current up state of the given raw touch mask with the given controller mask. |
static bool | Gets the current state of the given virtual near touch mask with the given controller mask. |
static bool | Gets the current state of the given raw near touch mask with the given controller mask. |
static bool | Gets the current down state of the given virtual near touch mask with the given controller mask. |
static bool | Gets the current down state of the given raw near touch mask with the given controller mask. |
static bool | Gets the current up state of the given virtual near touch mask with the given controller mask. |
static bool | Gets the current up state of the given raw near touch mask with the given controller mask. |
static float | Gets the current state of the given virtual 1-dimensional axis mask on the given controller mask. |
static float | Gets the current state of the given raw 1-dimensional axis mask on the given controller mask. |
static Vector2 | Gets the current state of the given virtual 2-dimensional axis mask on the given controller mask. |
static Vector2 | Gets the current state of the given raw 2-dimensional axis mask on the given controller mask. |
static Controller | Returns a mask of all currently connected controller types. |
static bool | IsControllerConnected ( Controller controller ) Returns true if the specified controller type is currently connected. |
static Controller | Returns the current active controller type. |
static void | Activates vibration with the given frequency and amplitude with the given controller mask. |
static void | RecenterController ( Controller controllerMask ) Triggers a recenter to realign the specified controller's virtual pose with the user's real-world pose. |
static bool | GetControllerWasRecentered ( Controller controllerMask ) Returns true if the specified controller was recentered this frame. |
static byte | GetControllerRecenterCount ( Controller controllerMask ) Returns the number of times the controller has been recentered this session. |
static byte | GetControllerBatteryPercentRemaining ( Controller controllerMask ) Returns the battery percentage remaining for the specified controller. |