#[repr(u32)]
pub enum EVRButtonId {
Show 15 variants k_EButton_System, k_EButton_ApplicationMenu, k_EButton_Grip, k_EButton_DPad_Left, k_EButton_DPad_Up, k_EButton_DPad_Right, k_EButton_DPad_Down, k_EButton_A, k_EButton_ProximitySensor, k_EButton_Axis0, k_EButton_Axis1, k_EButton_Axis2, k_EButton_Axis3, k_EButton_Axis4, k_EButton_Max,
}
Expand description

VR controller button and axis IDs

Variants

k_EButton_System

k_EButton_ApplicationMenu

k_EButton_Grip

k_EButton_DPad_Left

k_EButton_DPad_Up

k_EButton_DPad_Right

k_EButton_DPad_Down

k_EButton_A

k_EButton_ProximitySensor

k_EButton_Axis0

k_EButton_Axis1

k_EButton_Axis2

k_EButton_Axis3

k_EButton_Axis4

k_EButton_Max

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

A type-level representation of the type’s C++ namespace and type name. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.