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

USB: Fix inverted mouse wheel #10158

Merged
merged 1 commit into from
Oct 21, 2023
Merged

USB: Fix inverted mouse wheel #10158

merged 1 commit into from
Oct 21, 2023

Conversation

landfillbaby
Copy link
Contributor

Description of Changes

fixes usb mouse wheel inputs for e.g. Half-Life

Rationale behind Changes

fixes #10152

Suggested Testing Steps

see #10152

fixes usb mouse wheel inputs for e.g. Half-Life
@github-actions github-actions bot added the USB label Oct 21, 2023
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Thank you for submitting a contribution to PCSX2

As this is your first pull request, please be aware of the contributing guidelines.

Additionally, as per recent changes in GitHub Actions, your pull request will need to be approved by a maintainer before GitHub Actions can run against it. You can find more information about this change here.

Please be patient until this happens. In the meantime if you'd like to confirm the builds are passing, you have the option of opening a PR on your own fork, just make sure your fork's master branch is up to date!

@RedDevilus
Copy link
Contributor

Title of PR and commit should have correct prefix like
USB: Fix inverted mouse wheel

@stenzek
Copy link
Contributor

stenzek commented Oct 21, 2023

It's fine, we can fix that when merging.

@refractionpcsx2 refractionpcsx2 changed the title fix inverted mouse wheel USB: Fix inverted mouse wheel Oct 21, 2023
Copy link
Contributor

@stenzek stenzek left a comment

Choose a reason for hiding this comment

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

Verified that the event gives a delta of 1 when tilting the wheel up, and -1 when tilting down. So this should be okay.

@stenzek stenzek merged commit 0a8f71e into PCSX2:master Oct 21, 2023
12 checks passed
vertver pushed a commit to vertver/pcsx2-gdbserver that referenced this pull request Apr 4, 2024
fixes usb mouse wheel inputs for e.g. Half-Life
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Emulated mouse wheel is inverted.
3 participants