diff --git a/Cargo.toml b/Cargo.toml index 6fb1b7a..9226ffd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ host = ["dep:arcrelay-core"] [dependencies] ts-rs = { version = "12", features = ["serde-json-impl", "chrono-impl", "uuid-impl", "no-serde-warnings"] } async-trait = "0.1" -arcrelay-core = { version = "0.1.0", git = "https://github.com/ArcRelayProject/arcrelay-core.git", rev = "f84886c19a25b6c7da973d63b894d9b8042214cb", optional = true } +arcrelay-core = { version = "0.1.0", git = "https://github.com/ArcRelayProject/arcrelay-core.git", rev = "5be6b0376c475238b0e49b43054ac89c396e9db7", optional = true } arcrelay-transport = { version = "0.1.0", git = "https://github.com/ArcRelayProject/arcrelay-transport.git", rev = "c95846ae22ac1a4d72614a126e64ca892f390bca" } arcrelay-wire = { version = "0.1.0", git = "https://github.com/ArcRelayProject/arcrelay-wire.git", rev = "6f5c58460439382f43489f92c572d9dc52f87e59" } arcrelay-network = { version = "0.1.0", git = "https://github.com/ArcRelayProject/arcrelay-network.git", rev = "d89e17976678182cfb3ce1d8b09fb2006b6ba1a3" } @@ -32,6 +32,6 @@ xxhash-rust = { version = "0.8", features = ["xxh3"] } uuid = { version = "1", features = ["v4"] } [dev-dependencies] -arcrelay-core = { version = "0.1.0", git = "https://github.com/ArcRelayProject/arcrelay-core.git", rev = "f84886c19a25b6c7da973d63b894d9b8042214cb", features = ["test-support"] } +arcrelay-core = { version = "0.1.0", git = "https://github.com/ArcRelayProject/arcrelay-core.git", rev = "5be6b0376c475238b0e49b43054ac89c396e9db7", features = ["test-support"] } tempfile = "3" tokio = { version = "1", features = ["test-util"] } diff --git a/src/server/input_session.rs b/src/server/input_session.rs index 65a6d20..c2766ff 100644 --- a/src/server/input_session.rs +++ b/src/server/input_session.rs @@ -496,6 +496,8 @@ mod tests { velocity_x: 0.0, velocity_y: 0.0, inverted_from_device: false, + delta_x: 0.0, + delta_y: 0.0, finger_count: 0, }) } diff --git a/src/server/proto_handler/input/events.rs b/src/server/proto_handler/input/events.rs index cea108f..740beca 100644 --- a/src/server/proto_handler/input/events.rs +++ b/src/server/proto_handler/input/events.rs @@ -65,6 +65,8 @@ pub(super) fn convert_reliable_events( velocity_y: gesture.velocity_y, // The mobile control-session protocol remains DockSwipe v1. inverted_from_device: false, + delta_x: 0.0, + delta_y: 0.0, finger_count: 0, } .validate_format(gesture.format_version)