-
-
Notifications
You must be signed in to change notification settings - Fork 973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
input: Don't use old input state in GameController::ReadState() #2170
Conversation
Main: main.mp4PR: pr.mp4 |
0e707a1
to
13f2b17
Compare
it seems you accidentally committed the |
13f2b17
to
fba15bd
Compare
Nice catch. Thanks. |
Can someone check Gravity Rush Remastered with this PR? |
hmm i would prefer no SDL code in controller.cpp since it gonna be generic (as i imagine it at least) and have devices for inputs (SDL_keyboard ,SDL_Gamepad , XInput etc) |
Hoped this would fix Disgaea 5 but nope 2025-01-17.10-16-09.mp4 |
fba15bd
to
9ed083d
Compare
Ended up refactor the whole input subsystem. |
9ed083d
to
263d06d
Compare
726f239
to
de2b9bc
Compare
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.
de2b9bc
to
f85ab38
Compare
Confirmed motion controls is still working. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM otherwise
This could also fix Minecraft input lag |
Could you test it? |
…() (shadps4-emu#2170)" This reverts commit 90b04e8.
…() (shadps4-emu#2170)" This reverts commit 90b04e8.
…() (shadps4-emu#2170)" This reverts commit 90b04e8.
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.