Struct pscontroller_rs::NegconButtons
[−]
[src]
#[repr(C)]pub struct NegconButtons { /* fields omitted */ }
The digital buttons of the Namco NegCon
Methods
impl NegconButtons
[src]
The NegCon's version of GamepadButtons
pub fn select(&self) -> bool
[src]
A button on the controller
pub fn start(&self) -> bool
[src]
A button on the controller
pub fn up(&self) -> bool
[src]
A button on the controller
pub fn right(&self) -> bool
[src]
A button on the controller
pub fn down(&self) -> bool
[src]
A button on the controller
pub fn left(&self) -> bool
[src]
A button on the controller
pub fn r(&self) -> bool
[src]
A button on the controller
pub fn b(&self) -> bool
[src]
A button on the controller
pub fn a(&self) -> bool
[src]
A button on the controller
pub fn bits(&self) -> u16
[src]
The raw value of the buttons on the controller. Useful for aggregate functions
Trait Implementations
impl Clone for NegconButtons
[src]
fn clone(&self) -> NegconButtons
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more