Struct pscontroller_rs::JogCon [] [src]

#[repr(C)]
pub struct JogCon { pub buttons: GamepadButtons, pub jog_position: i16, pub jog_state: u8, }

Represents the Namco JogCon controller

Fields

Standard buttons (Cross, Circle, L3, Start, etc)

The absolute position of the jog wheel

What state is the jog wheel in

Trait Implementations

impl HasStandardButtons for JogCon
[src]

[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 JogCon

impl Sync for JogCon