expose all serialized events as public
This commit is contained in:
1 parent
b4ebf34595
commit
f7dff22552
15 files changed
+30
-15
No files matched your search
@@ -79,8 +79,9 @@ impl KeyboardData {
|
||||
}
|
||||
|
||||
#[cfg(feature = "serialize")]
|
||||
/// A serialized version of KeyboardData
|
||||
#[derive(serde::Serialize, serde::Deserialize)]
|
||||
struct SerializedKeyboardData {
|
||||
pub struct SerializedKeyboardData {
|
||||
auto_repeating: bool,
|
||||
#[serde(deserialize_with = "resilient_deserialize_code")]
|
||||
code: Code,
|
||||
|
||||
Reference in new issue
Block a user