gamebridge: Twitch Control #2

Merged
cadey merged 29 commits from gamebridge into master 2020-05-11 22:40:05 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit bf3e531d20 - Show all commits

View File

@ -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;