Skip to content

Commit

Permalink
Merge pull request #61 from KaiseiYokoyama/dev/0.6.1
Browse files Browse the repository at this point in the history
Derive Serialize and Deserialize for JoyConDeviceType
  • Loading branch information
KaiseiYokoyama authored Jun 6, 2020
2 parents 72cfee7 + 424016d commit 7c6a332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "joycon-rs"
version = "0.6.0"
version = "0.6.1"
authors = ["Kaisei Yokoyama <[email protected]>"]
repository = "https://github.com/KaiseiYokoyama/joycon-rs"
edition = "2018"
Expand Down
1 change: 1 addition & 0 deletions src/joycon/device.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use super::*;
use std::convert::TryInto;

#[cfg_attr(feature = "use_serde", derive(Serialize, Deserialize))]
#[derive(Debug, Clone, Hash, Eq, PartialEq)]
pub enum JoyConDeviceType {
JoyConL = 0,
Expand Down

0 comments on commit 7c6a332

Please sign in to comment.