-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
bug: horizontal scrolling is inverted for Allegro5 backend with touchpads #3394
Comments
Could you clarify what this means? Does toggling the settings means you get opposite values in the How do SDL and GLFW behave for you in term of horizontal scrolling direction? |
Yes I mean the sign for the ev->mouse.dw field appears to be inverted, |
My question is, can you confirm if altering your OS/WM/X11 setting changes the sign of any value reported to Allegro? Allegro Windows:
Allegro X11:
GLFW Window:
GLFW X11:
Looking at all this it seems Allegro does the opposite of GLFW but is consistent (at least accross X11/windows) in doing so and therefore your patch seems correct.. |
…wheel / touch pads (#3394, #2424, #1463) [@nobody-special666] Amend 7dea158 + Fix vsproj GUID
Merged with 009276b, thank you, |
Branch:
docking + tables merged
Back-end/Renderer/Compiler/OS
Allegro5 / Linux / Synaptics touchpad
Back-ends: imgui_impl_XXX.cpp + imgui_impl_XXX.cpp (or specify if using a custom engine/back-end)
imgui_impl_allegro5.cpp
Operating System:
Ubuntu 20.04
Issue:
I was testing with the imgui_demo compiled using the Allegro5 backend
and my touchpad configured for natural scrolling and I noticed the horizontal scrollbars
are all moving in the opposite direction to what they should be. Vertical scrollbars are working fine.
Here is a patch to correct.
P.S: I don't know if this would break mouse wheels and haven't tested it with Allegro5 backend on other platforms.
Thanks for ImGui
The text was updated successfully, but these errors were encountered: