Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
133 stars 2 forks source link

Scroll wheel is backwards #87

Open iamgreaser opened 11 months ago

iamgreaser commented 11 months ago

Describe the bug?

When you scroll up it scrolls down instead, and vice versa. This is a Unity bug.

To Reproduce

Open the Linux client. Find something you can scroll through using the scroll wheel.

Expected behavior

Scrolling down on the scroll wheel should scroll down.

Screenshots

No response

Resonite Version Number

2023.10.13.743

What Platforms does this occur on?

Linux

What headset if any do you use?

No response

Log Files

No response

Additional Context

NeosVR had a LinuxFixes mod which patched the Unity player to fix this: https://github.com/ljoonal/Neos-Mods#linux-fixes

The most legal workaround for this would be to detect if the scroll wheel needs reversing and do so. You could possibly have an "invert scroll wheel" setting for that, which may be something people might want anyway. I'd be tempted to make inversion applied based on the setting XOR the autodetection.

Reporters

Too many to count.

shiftyscales commented 10 months ago

Does this issue occur across various distros? E.g. Ubuntu, SteamOS/Steam Deck, etc?

If it is a Unity issue- does that occur in other titles too, then? Are you aware if this issue has been fixed upstream in later Unity versions? @iamgreaser

iamgreaser commented 10 months ago

I highly doubt it would be different under different distros considering how X11 works.

And yes this is a Unity issue, it is fixed in later versions, and Tabletop Simulator has the same bug.

shiftyscales commented 10 months ago

Thanks for confirming that, @iamgreaser - are you aware of which version the fix can first be found in?

yoshiyoshyosh commented 10 months ago

are you aware of which version the fix can first be found in?

after some googling, the only related thing I could find was this bug in unity's tracker. what's interesting is that they claim it was Fixed in 2019.3.X, but the version that Resonite reports in the unity Player.log is 2019.4.19f1, yet it still exists as a bug. seems like someone else in the comments section of that issue report says they still find it happening on 2019.4.13f1

coolymike commented 2 months ago

This is still an issue on the Linux native build. Without a Unity upgrade to a version that fixes it, this will need to be fixed by reversing the scroll direction on Linux in FrooxEngine.