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() { if self.next_scroll > Instant::now() {
return; return;
} }
let max_millis = if matches!(hit.mode, PointerMode::Right) { let max_millis = if matches!(hit.mode, PointerMode::Left) {
50.0 200.0
} else { } else {
100.0 100.0
}; };