feat: upgrade stereokit

This commit is contained in:
Nova
2024-05-28 09:13:15 -04:00
parent 01c5ad3b04
commit eda50b7d51
27 changed files with 1498 additions and 592 deletions

View File

@@ -154,7 +154,6 @@ pub fn process_input() {
.collect()
});
method.captures.clear();
// Iterate over the distance links and send input to them
for (i, input_link) in input_links.into_iter().enumerate() {
if let Some(method_alias) = input_link
@@ -165,8 +164,13 @@ pub fn process_input() {
{
method_alias.enabled.store(true, Ordering::Release);
}
input_link.send_input(i as u32, true, method.datamap.lock().clone());
input_link.send_input(
i as u32,
method.captures.contains(&input_link.handler),
method.datamap.lock().clone(),
);
}
method.capture_requests.clear();
});
}
}