Mouse look stutters after ~0.5s (Raw Input → right stick mapping) #11
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/gamingwithhomie--larp#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@hiracer1988-byte on GitHub · 2026-12-05 13:53 UTC · original
Enhanced larp v2
Mouse look works for about half a second then starts stuttering/juddering when looking around or in the map.
Only happens inside LARP
Desktop mouse is perfectly smooth
Game FPS stays high and stable
Happens with both look and map view
Tried lowering polling rate from 1000 Hz — no difference
Looks related to how mouse deltas are accumulated and then scaled/clamped to the right stick every poll in crates/larp-hle/src/modules/gameinput/mouse.rs (the RAW_DX/RAW_DY swap + 0.045 * sens clamp path).Using the latest enhanced fork.
@gamingwithhomie on GitHub · 2026-12-05 14:51 UTC · original · edited 2026-12-05 15:03 UTC
Fixed in v2026.12.05-enhanced-v3 (and included in v4)! Good catch — the 250 Hz (4 ms) poll loop was wiping
RAW_DX/RAW_DYfaster than the game's 30–60 Hz reads, causing beat-frequency judder. Replaced it with a polling-rate-independent velocity low-pass filter (~20 ms tau) + deadzone-clear curve inmouse.rs. Please test the latest release and let us know how smooth it feels!