[][src]Struct pspsdk_sys::sdk::SceCtrlData

#[repr(C)]pub struct SceCtrlData {
    pub TimeStamp: c_uint,
    pub Buttons: c_uint,
    pub Lx: c_uchar,
    pub Ly: c_uchar,
    pub Rsrv: [c_uchar; 6],
}

Returned controller data

Fields

TimeStamp: c_uint

The current read frame.

Buttons: c_uint

Bit mask containing zero or more of ::PspCtrlButtons.

Lx: c_uchar

Analogue stick, X axis.

Ly: c_uchar

Analogue stick, Y axis.

Rsrv: [c_uchar; 6]

Reserved.

Trait Implementations

impl Clone for SceCtrlData[src]

impl Copy for SceCtrlData[src]

impl Debug for SceCtrlData[src]

Auto Trait Implementations

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, 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.