#[repr(u32)]
pub enum EVRControllerAxisType {
k_eControllerAxis_None,
k_eControllerAxis_TrackPad,
k_eControllerAxis_Joystick,
k_eControllerAxis_Trigger,
}
Expand description
Identifies what kind of axis is on the controller at index n. Read this type with pVRSystem->Get( nControllerDeviceIndex, Prop_Axis0Type_Int32 + n );
Variants
k_eControllerAxis_None
k_eControllerAxis_TrackPad
k_eControllerAxis_Joystick
k_eControllerAxis_Trigger
Trait Implementations
sourceimpl Clone for EVRControllerAxisType
impl Clone for EVRControllerAxisType
sourcefn clone(&self) -> EVRControllerAxisType
fn clone(&self) -> EVRControllerAxisType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EVRControllerAxisType
impl Debug for EVRControllerAxisType
sourceimpl ExternType for EVRControllerAxisType
impl ExternType for EVRControllerAxisType
type Id = (v, r, (), E, V, R, C, o, n, t, r, o, l, l, e, r, A, x, i, s, T, y, p, e)
type Id = (v, r, (), E, V, R, C, o, n, t, r, o, l, l, e, r, A, x, i, s, T, y, p, e)
A type-level representation of the type’s C++ namespace and type name. Read more
type Kind = Trivial
type Kind = Trivial
Either cxx::kind::Opaque
or cxx::kind::Trivial
. Read more
sourceimpl Hash for EVRControllerAxisType
impl Hash for EVRControllerAxisType
impl Copy for EVRControllerAxisType
impl Eq for EVRControllerAxisType
impl StructuralEq for EVRControllerAxisType
impl StructuralPartialEq for EVRControllerAxisType
impl UniquePtrTarget for EVRControllerAxisType
impl VectorElement for EVRControllerAxisType
impl WeakPtrTarget for EVRControllerAxisType
Auto Trait Implementations
impl RefUnwindSafe for EVRControllerAxisType
impl Send for EVRControllerAxisType
impl Sync for EVRControllerAxisType
impl Unpin for EVRControllerAxisType
impl UnwindSafe for EVRControllerAxisType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more