mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #2170] [MERGED] input: Don't use old input state in GameController::ReadState() #2533
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2533
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2170
Author: @ngoquang2708
Created: 1/17/2025
Status: ✅ Merged
Merged: 1/18/2025
Merged by: @roamic
Base:
main← Head:fix-input-lag📝 Commits (5)
f85ab38input: Don't use old input state in GameController::ReadState()ecbee1finput: More error checking10ea1d2Use unique_ptr8ac50a6Cleanup5dd67b9Add missing return📊 Changes
5 files changed (+321 additions, -112 deletions)
View changed files
📝
src/core/libraries/pad/pad.cpp(+23 -10)📝
src/input/controller.cpp(+77 -69)📝
src/input/controller.h(+26 -10)📝
src/sdl_window.cpp(+175 -21)📝
src/sdl_window.h(+20 -2)📄 Description
Fix input lag when there is multiple user inputs happen at the same time. SDL input events can only fire one at a time and game may get some input events later than other.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.