Show / Hide Table of Contents

Class VRAxis

Axis mapping names for VR input devices.

Inheritance
System.Object
VRAxis
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Liminal.SDK.VR.Input
Assembly: Liminal.SDK.dll
Syntax
public static class VRAxis

Fields

| Improve this Doc View Source

One

The primary input axis in the range of [(-1,-1)...(1,1)], where (0, 0) is the center of the pad or joystick. For triggers, this represents a single axis as a float. For most devices, this will be either a touchpad or joystick.

DeviceButton
DaydreamTouchpad
GearVR HeadsetD-Pad
GearVR ControllerTouchpad
Oculus RiftThumbstick
HTC ViveTouchpad
Declaration
public const string One = "AxisOne"
Field Value
Type Description
System.String
| Improve this Doc View Source

OneRaw

The primary input axis in the range of [(0,0)...(1,1)], where (0, 0) is the top left of the pad or joystick, and (1, 1) is the bottom right of the pad or joystick. For most devices, this will be either a touchpad or joystick.

DeviceButton
DaydreamTouchpad
GearVR HeadsetD-Pad
GearVR ControllerTouchpad
Oculus RiftThumbstick
HTC ViveTouchpad
Declaration
public const string OneRaw = "AxisOneRaw"
Field Value
Type Description
System.String
| Improve this Doc View Source

Primary

The primary input axis. This value is synonomous with One. One

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

PrimaryRaw

The primary raw input axis. This value is synonomous with OneRaw. OneRaw

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

Seconday

The secondary input axis. This value is synonomous with Two. Two

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

SecondayRaw

The secondary raw input axis. This value is synonomous with TwoRaw. TwoRaw

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

Three

The third input axis in the range of [(-1,-1)...(1,1)], where (0, 0) is the center of the pad or joystick. For triggers, this represents a single axis as a float. Most devices do not have a third input axis. Using this axis is not recommended.

DeviceButton
DaydreamNot Supported
GearVR HeadsetNot Supported
GearVR ControllerNot Supported
Oculus RiftHand trigger
HTC ViveTrigger
Declaration
public const string Three = "AxisThree"
Field Value
Type Description
System.String
| Improve this Doc View Source

ThreeRaw

The third input axis in the range of [(0,0)...(1,1)], where (0, 0) is the top left of the pad or joystick, and (1, 1) is the bottom right of the pad or joystick. For triggers, this represents a single axis as a float. Most devices do not have a third input axis. Using this axis is not recommended.

DeviceButton
DaydreamNot Supported
GearVR HeadsetNot Supported
GearVR ControllerNot Supported
Oculus RiftHand trigger
HTC ViveNot Supported
Declaration
public const string ThreeRaw = "AxisThreeRaw"
Field Value
Type Description
System.String
| Improve this Doc View Source

Two

The secondary input axis in the range of [(-1,-1)...(1,1)], where (0, 0) is the center of the pad or joystick. For triggers, this represents a single axis as a float. Most mobile devices do not have a secondary input axis. Using this axis is not recommended.

DeviceButton
DaydreamNot Supported
GearVR HeadsetNot Supported
GearVR ControllerNot Supported
Oculus RiftHand trigger
HTC ViveTrigger
Declaration
public const string Two = "AxisTwo"
Field Value
Type Description
System.String
| Improve this Doc View Source

TwoRaw

The secondary input axis in the range of [(0,0)...(1,1)], where (0, 0) is the top left of the pad or joystick, and (1, 1) is the bottom right of the pad or joystick. Most mobile devices do not have a secondary input axis. Using this axis is not recommended.

DeviceButton
DaydreamNot Supported
GearVR HeadsetNot Supported
GearVR ControllerNot Supported
Oculus RiftIndex trigger
HTC ViveNot Supported
Declaration
public const string TwoRaw = "AxisTwoRaw"
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX