Skip to content

[BUGFIX] Improve input latency consistency - #7791

Open
iLauncherDev wants to merge 1 commit into
FunkinCrew:preview/public-playtestfrom
iLauncherDev:fix_FNF_input
Open

[BUGFIX] Improve input latency consistency#7791
iLauncherDev wants to merge 1 commit into
FunkinCrew:preview/public-playtestfrom
iLauncherDev:fix_FNF_input

Conversation

@iLauncherDev

@iLauncherDev iLauncherDev commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Linked Issues

Description

This patch make sure to not call PreciseInputManager.getCurrentTimestamp for every input potentially causing inconsistent input latency if something delays some ms while the inputs are being processed

Screenshots/Videos

@github-actions github-actions Bot added status: pending triage Awaiting review. size: small A small pull request with 10 or fewer changes. pr: haxe PR modifies game code. labels Jul 25, 2026
@NotHyper-474 NotHyper-474 added type: minor bug Involves a minor bug or issue. topic: scoring Involves the game's ranking and scoring systems. labels Jul 25, 2026
@iLauncherDev iLauncherDev changed the title Use the oldFrameTimestamp to keep consistency timing between different FPS [BUGFIX] Use the oldFrameTimestamp to keep consistency input timing between different FPS Jul 25, 2026
@iLauncherDev
iLauncherDev marked this pull request as ready for review July 25, 2026 00:28
@Hundrec
Hundrec requested a review from Kade-github July 25, 2026 09:00
@Hundrec Hundrec changed the title [BUGFIX] Use the oldFrameTimestamp to keep consistency input timing between different FPS [BUGFIX] Use oldFrameTimestamp for FPS-independent input timings Jul 25, 2026
@github-actions github-actions Bot added size: medium A medium pull request with 100 or fewer changes. and removed size: small A small pull request with 10 or fewer changes. labels Jul 25, 2026
@iLauncherDev iLauncherDev changed the title [BUGFIX] Use oldFrameTimestamp for FPS-independent input timings [BUGFIX] Use lastFrameTimestamp for FPS-independent input timings Jul 25, 2026
@iLauncherDev
iLauncherDev force-pushed the fix_FNF_input branch 2 times, most recently from 13e7e79 to 32992cb Compare July 25, 2026 15:28
@iLauncherDev iLauncherDev changed the title [BUGFIX] Use lastFrameTimestamp for FPS-independent input timings [BUGFIX] Fix timestamp logic for FPS-independent input timings Jul 25, 2026
@NotHyper-474 NotHyper-474 added status: rejected Issue did not pass review or PR cannot be approved. and removed type: minor bug Involves a minor bug or issue. topic: scoring Involves the game's ranking and scoring systems. status: pending triage Awaiting review. pr: haxe PR modifies game code. labels Jul 25, 2026
@NotHyper-474
NotHyper-474 removed the request for review from Kade-github July 25, 2026 23:16
@iLauncherDev iLauncherDev reopened this Jul 26, 2026
@github-actions github-actions Bot added the pr: haxe PR modifies game code. label Jul 26, 2026
@NotHyper-474 NotHyper-474 added type: minor bug Involves a minor bug or issue. topic: scoring Involves the game's ranking and scoring systems. status: pending triage Awaiting review. and removed status: rejected Issue did not pass review or PR cannot be approved. labels Jul 26, 2026
@Hundrec
Hundrec requested a review from Kade-github August 22, 2026 07:57
@iLauncherDev
iLauncherDev changed the base branch from develop to preview/public-playtest August 29, 2026 19:44
@iLauncherDev iLauncherDev changed the title [BUGFIX] Fix timestamp logic for FPS-independent input timings [BUGFIX] Improve input latency consistency Aug 29, 2026
@iLauncherDev

Copy link
Copy Markdown
Contributor Author

Well i ported it to preview/public-playtest now

@Hundrec
Hundrec force-pushed the preview/public-playtest branch from ae0e3ff to b190bf7 Compare August 30, 2026 11:12
@TechnikTil

Copy link
Copy Markdown
Contributor

This PR has merge conflicts, please fix them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: haxe PR modifies game code. size: medium A medium pull request with 100 or fewer changes. status: pending triage Awaiting review. topic: scoring Involves the game's ranking and scoring systems. type: minor bug Involves a minor bug or issue.

Development

Successfully merging this pull request may close these issues.

3 participants