adjust scroll speed on analog sticks

This commit is contained in:
galister
2024-06-03 10:22:25 +09:00
parent 84b08b99f7
commit 009626704c

View File

@@ -130,8 +130,8 @@ impl InteractionHandler for ScreenInteractionHandler {
if self.next_scroll > Instant::now() {
return;
}
let max_millis = if matches!(hit.mode, PointerMode::Right) {
50.0
let max_millis = if matches!(hit.mode, PointerMode::Left) {
200.0
} else {
100.0
};