diff --git a/gamebridge/src/main.rs b/gamebridge/src/main.rs index 426cd3e..6bc3f59 100644 --- a/gamebridge/src/main.rs +++ b/gamebridge/src/main.rs @@ -50,7 +50,7 @@ fn main() -> Result<()> { spawn(move || twitch::run(st)); } - const LERP_TIME: f64 = 1.0; // 15 frames to lerp stick positions down to 0 + const LERP_TIME: f64 = 90.0; // 90 frames to lerp stick positions down to 0 let mut xmax_frame: u64 = 0; let mut ymax_frame: u64 = 0; @@ -93,7 +93,7 @@ fn main() -> Result<()> { }, }; - sticky = match stickx { + sticky = match sticky { 0 => sticky, 127 => { ymax_frame = data.frame;