Struct pscontroller_rs::classic::Classic[][src]

#[repr(C)]
pub struct Classic { pub buttons: GamepadButtons, }

Represents the classic Controller

Fields

Standard buttons (Cross, Circle, L3, Start)

Trait Implementations

impl HasStandardButtons for Classic
[src]

This does require a clone operation of the bytes inside the controller. To save yourself the copy, you can access the button data directly via buttons Read more

Auto Trait Implementations

impl Send for Classic

impl Sync for Classic