Struct ctru::services::ir_user::CirclePadProInputResponse
source · pub struct CirclePadProInputResponse {
pub c_stick_x: u16,
pub c_stick_y: u16,
pub battery_level: u8,
pub zl_pressed: bool,
pub zr_pressed: bool,
pub r_pressed: bool,
pub unknown_field: u8,
}
Expand description
Circle Pad Pro response packet holding the current device input signals and status.
Fields§
§c_stick_x: u16
The X value of the C-stick.
c_stick_y: u16
The Y value of the C-stick.
battery_level: u8
The battery level of the Circle Pad Pro.
zl_pressed: bool
Whether the ZL button is pressed.
zr_pressed: bool
Whether the ZR button is pressed.
r_pressed: bool
Whether the R button is pressed.
unknown_field: u8
Unknown field.
Trait Implementations§
source§impl Debug for CirclePadProInputResponse
impl Debug for CirclePadProInputResponse
source§impl Default for CirclePadProInputResponse
impl Default for CirclePadProInputResponse
source§fn default() -> CirclePadProInputResponse
fn default() -> CirclePadProInputResponse
Returns the “default value” for a type. Read more