[][src]Enum pspsdk_sys::sdk::PspCtrlButtons

#[repr(u32)]pub enum PspCtrlButtons {
    PSP_CTRL_SELECT,
    PSP_CTRL_START,
    PSP_CTRL_UP,
    PSP_CTRL_RIGHT,
    PSP_CTRL_DOWN,
    PSP_CTRL_LEFT,
    PSP_CTRL_LTRIGGER,
    PSP_CTRL_RTRIGGER,
    PSP_CTRL_TRIANGLE,
    PSP_CTRL_CIRCLE,
    PSP_CTRL_CROSS,
    PSP_CTRL_SQUARE,
    PSP_CTRL_HOME,
    PSP_CTRL_HOLD,
    PSP_CTRL_NOTE,
    PSP_CTRL_SCREEN,
    PSP_CTRL_VOLUP,
    PSP_CTRL_VOLDOWN,
    PSP_CTRL_WLAN_UP,
    PSP_CTRL_REMOTE,
    PSP_CTRL_DISC,
    PSP_CTRL_MS,
}

Enumeration for the digital controller buttons.

@note PSP_CTRL_HOME, PSP_CTRL_NOTE, PSP_CTRL_SCREEN, PSP_CTRL_VOLUP, PSP_CTRL_VOLDOWN, PSP_CTRL_DISC, PSP_CTRL_WLAN_UP, PSP_CTRL_REMOTE, PSP_CTRL_MS can only be read in kernel mode

Variants

PSP_CTRL_SELECT
PSP_CTRL_START
PSP_CTRL_UP
PSP_CTRL_RIGHT
PSP_CTRL_DOWN
PSP_CTRL_LEFT
PSP_CTRL_LTRIGGER
PSP_CTRL_RTRIGGER
PSP_CTRL_TRIANGLE
PSP_CTRL_CIRCLE
PSP_CTRL_CROSS
PSP_CTRL_SQUARE
PSP_CTRL_HOME
PSP_CTRL_HOLD
PSP_CTRL_NOTE
PSP_CTRL_SCREEN
PSP_CTRL_VOLUP
PSP_CTRL_VOLDOWN
PSP_CTRL_WLAN_UP
PSP_CTRL_REMOTE
PSP_CTRL_DISC
PSP_CTRL_MS

Trait Implementations

impl Clone for PspCtrlButtons[src]

impl Copy for PspCtrlButtons[src]

impl Debug for PspCtrlButtons[src]

impl Eq for PspCtrlButtons[src]

impl Hash for PspCtrlButtons[src]

impl PartialEq<PspCtrlButtons> for PspCtrlButtons[src]

impl StructuralEq for PspCtrlButtons[src]

impl StructuralPartialEq for PspCtrlButtons[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.