Struct pscontroller_rs::DualShock2
[−]
[src]
#[repr(C)]pub struct DualShock2 { pub buttons: GamepadButtons, pub rx: u8, pub ry: u8, pub lx: u8, pub ly: u8, pub pressures: [u8; 8], }
Represents the DualShock 2 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
pressures: [u8; 8]
List of possible pressure readings from the buttons Note that these are configurable length