From 86b1820dbb2891e9f4608b4575c5e0e4704d46a9 Mon Sep 17 00:00:00 2001 From: Mark Drobnak Date: Sun, 29 Jan 2023 15:03:09 -0800 Subject: [PATCH] Derive Default for CirclePadProInputResponse --- ctru-rs/src/services/ir_user.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/src/services/ir_user.rs b/ctru-rs/src/services/ir_user.rs index df35e99..788c02e 100644 --- a/ctru-rs/src/services/ir_user.rs +++ b/ctru-rs/src/services/ir_user.rs @@ -439,7 +439,7 @@ pub struct IrUserPacket { } /// Circle Pad Pro response packet holding the current device input signals and status. -#[derive(Debug)] +#[derive(Debug, Default)] pub struct CirclePadProInputResponse { pub c_stick_x: u16, pub c_stick_y: u16,