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

[MWB] Use UWP API to inject mouse input #27229

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

yuyoyuppe
Copy link
Collaborator

@yuyoyuppe yuyoyuppe commented Jul 6, 2023

Summary of the Pull Request

Use UWP API that's more performant for simulating mouse input.

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

  • connnect to a laptop on power-efficiency mode from a PC with a 1KHz mouse and observe that the mouse is not lagging anymore

Copy link
Collaborator

@jaimecbernardo jaimecbernardo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I've tested with relative and absolute mouse coordinates. Also tested in Service mode, seems to not break anything.
Could never repro the original issue, but this looks good to go in.
Thank you!

@yuyoyuppe yuyoyuppe merged commit c3c15ff into microsoft:main Jul 10, 2023
7 checks passed
@yuyoyuppe yuyoyuppe deleted the mwb_laggy_cursor branch July 10, 2023 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants