Show / Hide Table of Contents

Class VRButton

Button mapping names for VR input devices.

Inheritance
System.Object
VRButton
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 VRButton

Fields

| Improve this Doc View Source

Back

The 'back' button input. This button is generally supported on all devices, however functionality differs on each device. Alternative names for this button may include 'back', 'menu', 'system'.

DeviceButton
DaydreamApp
GearVR HeadsetBack
GearVR ControllerBack
Oculus RiftStart
HTC ViveApplication Menu
Declaration
public const string Back = "ButtonBack"
Field Value
Type Description
System.String
| Improve this Doc View Source

DPadDown

The digital input pad down button. This value is only supported by input devices with the DPad capability. This button differs on each device.

DeviceButton
DaydreamNot Supported
GearVR HeadsetD-Pad Down
GearVR ControllerNot Supported
Oculus RiftNot Supported
HTC ViveNot Supported
Declaration
public const string DPadDown = "ButtonDPadDown"
Field Value
Type Description
System.String
| Improve this Doc View Source

DPadLeft

The digital input pad left button. This value is only supported by input devices with the DPad capability. This button differs on each device.

DeviceButton
DaydreamNot Supported
GearVR HeadsetD-Pad Left
GearVR ControllerNot Supported
Oculus RiftNot Supported
HTC ViveNot Supported
Declaration
public const string DPadLeft = "ButtonDPadLeft"
Field Value
Type Description
System.String
| Improve this Doc View Source

DPadRight

The digital input pad right button. This value is only supported by input devices with the DPad capability. This button differs on each device.

DeviceButton
DaydreamNot Supported
GearVR HeadsetD-Pad Right
GearVR ControllerNot Supported
Oculus RiftNot Supported
HTC ViveNot Supported
Declaration
public const string DPadRight = "ButtonDPadRight"
Field Value
Type Description
System.String
| Improve this Doc View Source

DPadUp

The digital input pad up button. This value is only supported by input devices with the DPad capability. This button differs on each device.

DeviceButton
DaydreamNot Supported
GearVR HeadsetD-Pad Up
GearVR ControllerNot Supported
Oculus RiftNot Supported
HTC ViveNot Supported
Declaration
public const string DPadUp = "ButtonDPadUp"
Field Value
Type Description
System.String
| Improve this Doc View Source

Four

The fourth input button. This value is not supported on all devices. This button differs on each device.

DeviceButton
DaydreamNot Supported
GearVRNot Supported
GearVR ControllerNot Supported
Oculus RiftB
HTC ViveNot Supported
Declaration
public const string Four = "ButtonFour"
Field Value
Type Description
System.String
| Improve this Doc View Source

One

The first input button. The button differs on each device, however all input devices support this button. This is usually the primary click/select mechanism. If the device supports a trigger, this will generally be the primary input. For devices that do not support a trigger, this will be the primary clicking mechanism.

DeviceButton
DaydreamTouchpad
GearVR HeadsetDPad Tap
GearVR ControllerTrigger
Oculus RiftIndex Trigger
HTC ViveTrigger
Declaration
public const string One = "ButtonOne"
Field Value
Type Description
System.String
| Improve this Doc View Source

Primary

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

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

Seconday

The secondary input button. This value is synonomous with Two. One

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

Three

The third input button. This value is not supported on all devices. This button differs on each device.

DeviceButton
DaydreamNot Supported
GearVRNot Supported
GearVR ControllerNot Supported
Oculus RiftA
HTC ViveGrip
Declaration
public const string Three = "ButtonThree"
Field Value
Type Description
System.String
| Improve this Doc View Source

Touch

The touch/stick input. This value is only supported by input devices with the Touch capability. This button differs on each device.

DeviceButton
DaydreamTouchpad
GearVR HeadsetDPad Tap
GearVR ControllerTouchpad
Oculus RiftThumbstick
HTC ViveTouchpad
Declaration
public const string Touch = "ButtonTouch"
Field Value
Type Description
System.String
| Improve this Doc View Source

Trigger

The trigger input. This value is only supported by input devices with the TriggerButton capability. This button differs on each device.

DeviceButton
DaydreamNot Supported
GearVRTrigger
Oculus RiftIndex Trigger
HTC ViveTrigger
Declaration
public const string Trigger = "ButtonTrigger"
Field Value
Type Description
System.String
| Improve this Doc View Source

Two

The second input button. This button is not supported on all devices. Usually devices that offer a touchpad and a trigger button will support Two.

DeviceButton
DaydreamNot Supported
GearVR HeadsetNot Supported
GearVR ControllerTouchpad
Oculus RiftHand Trigger
HTC ViveTouchpad
Declaration
public const string Two = "ButtonTwo"
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
Back to top Generated by DocFX