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()
Assembly: Liminal.SDK.dll
public static class VRButton
Fields
|
Improve this Doc
View Source
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'.
Device | Button |
---|
Daydream | App |
GearVR Headset | Back |
GearVR Controller | Back |
Oculus Rift | Start |
HTC Vive | Application Menu |
Declaration
public const string Back = "ButtonBack"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
The digital input pad down button. This value is only supported by input devices with the DPad capability. This button differs on each device.
Device | Button |
---|
Daydream | Not Supported |
GearVR Headset | D-Pad Down |
GearVR Controller | Not Supported |
Oculus Rift | Not Supported |
HTC Vive | Not Supported |
Declaration
public const string DPadDown = "ButtonDPadDown"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
The digital input pad left button. This value is only supported by input devices with the DPad capability. This button differs on each device.
Device | Button |
---|
Daydream | Not Supported |
GearVR Headset | D-Pad Left |
GearVR Controller | Not Supported |
Oculus Rift | Not Supported |
HTC Vive | Not Supported |
Declaration
public const string DPadLeft = "ButtonDPadLeft"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
The digital input pad right button. This value is only supported by input devices with the DPad capability. This button differs on each device.
Device | Button |
---|
Daydream | Not Supported |
GearVR Headset | D-Pad Right |
GearVR Controller | Not Supported |
Oculus Rift | Not Supported |
HTC Vive | Not Supported |
Declaration
public const string DPadRight = "ButtonDPadRight"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
The digital input pad up button. This value is only supported by input devices with the DPad capability. This button differs on each device.
Device | Button |
---|
Daydream | Not Supported |
GearVR Headset | D-Pad Up |
GearVR Controller | Not Supported |
Oculus Rift | Not Supported |
HTC Vive | Not Supported |
Declaration
public const string DPadUp = "ButtonDPadUp"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
The fourth input button. This value is not supported on all devices. This button differs on each device.
Device | Button |
---|
Daydream | Not Supported |
GearVR | Not Supported |
GearVR Controller | Not Supported |
Oculus Rift | B |
HTC Vive | Not Supported |
Declaration
public const string Four = "ButtonFour"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
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.
Device | Button |
---|
Daydream | Touchpad |
GearVR Headset | DPad Tap |
GearVR Controller | Trigger |
Oculus Rift | Index Trigger |
HTC Vive | Trigger |
Declaration
public const string One = "ButtonOne"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
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
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
The third input button. This value is not supported on all devices. This button differs on each device.
Device | Button |
---|
Daydream | Not Supported |
GearVR | Not Supported |
GearVR Controller | Not Supported |
Oculus Rift | A |
HTC Vive | Grip |
Declaration
public const string Three = "ButtonThree"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
The touch/stick input. This value is only supported by input devices with the Touch capability. This button differs on each device.
Device | Button |
---|
Daydream | Touchpad |
GearVR Headset | DPad Tap |
GearVR Controller | Touchpad |
Oculus Rift | Thumbstick |
HTC Vive | Touchpad |
Declaration
public const string Touch = "ButtonTouch"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
The trigger input. This value is only supported by input devices with the TriggerButton capability. This button differs on each device.
Device | Button |
---|
Daydream | Not Supported |
GearVR | Trigger |
Oculus Rift | Index Trigger |
HTC Vive | Trigger |
Declaration
public const string Trigger = "ButtonTrigger"
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
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.
Device | Button |
---|
Daydream | Not Supported |
GearVR Headset | Not Supported |
GearVR Controller | Touchpad |
Oculus Rift | Hand Trigger |
HTC Vive | Touchpad |
Declaration
public const string Two = "ButtonTwo"
Field Value
Type |
Description |
System.String |
|