Struct pscontroller_rs::DualShock
[−]
[src]
#[repr(C)]pub struct DualShock { pub buttons: GamepadButtons, pub rx: u8, pub ry: u8, pub lx: u8, pub ly: u8, }
Represents the DualShock 1 controller
Fields
Standard buttons (Cross, Circle, L3, Start, etc)
rx: u8
Right analog stick, left and right
ry: u8
Right analog stick, up and down
lx: u8
Left analog stick, left and right
ly: u8
Left analog stick, up and down