Skip to content
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

VideoCommon: use imgui input queue for mouse clicks #12787

Merged

Conversation

iwubcode
Copy link
Contributor

In imgui 1.87 they introduced a new input system. One of the advantages of this input system was an input queuing system to keep input smooth when frame times were inconsistent. We switched over to this system for keyboard events when updating imgui as part of an interface breakage but we didn't update our mouse clicks to use this system.

This code updates our mouse handling to use the input event system.

…input smooth regardless of frame-times and matches keyboard events, this system was introduced in 1.87
@AdmiralCurtiss
Copy link
Contributor

Seems correct to me looking at ocornut/imgui#4921

@AdmiralCurtiss AdmiralCurtiss merged commit a64b796 into dolphin-emu:master May 21, 2024
11 checks passed
@iwubcode iwubcode deleted the imgui_mouse_clicks_queue branch May 22, 2024 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants