Skip to content

Commit

Permalink
Add derive
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiseiYokoyama committed Jun 6, 2020
1 parent 373b249 commit abb9c04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/joycon/driver/input_report_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ pub trait InputReportMode<D: JoyConDriver>: Sized {
fn into_driver(self) -> D;
}

#[cfg_attr(feature = "use_serde", derive(Serialize, Deserialize))]
/// Standard input report with extra report.
pub struct StandardInputReport<EX: TryFrom<[u8; 349], Error=JoyConError>> {
pub common: CommonReport,
Expand Down

0 comments on commit abb9c04

Please sign in to comment.