[][src]Struct openvr::system::event::TouchPadMove

pub struct TouchPadMove {
    pub finger_down: bool,
    pub seconds_finger_down: f32,
    pub first: (f32, f32),
    pub raw: (f32, f32),
}

When in mouse input mode you can receive data from the touchpad, these events are only sent if the user's finger is on the touchpad (or just released from it)

Fields

finger_down: bool

if the user's finger is detected on the touch pad

seconds_finger_down: f32

How long the finger has been down in seconds

first: (f32, f32)

Starting finger position (so you can do some basic swipe stuff)

raw: (f32, f32)

This is the raw sampled coordinate without deadzoning

Trait Implementations

impl Clone for TouchPadMove[src]

impl Copy for TouchPadMove[src]

impl Debug for TouchPadMove[src]

Auto Trait Implementations

impl RefUnwindSafe for TouchPadMove

impl Send for TouchPadMove

impl Sync for TouchPadMove

impl Unpin for TouchPadMove

impl UnwindSafe for TouchPadMove

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.