| Summary: | [PATCH] Wayland: invalid direction on mouse wheel | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vladimir <s_v_d_2000> |
| Component: | events | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.7 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Attachments: | proposed patch | ||
Does this patch give negative values for scrolling up and left and positive values for scrolling right and down? Sorry, the y should be flipped in my description:
Sint32 x; /**< The amount scrolled horizontally, positive to the right and negative to the left */
Sint32 y; /**< The amount scrolled vertically, positive away from the user and negative toward the user */
I'll assume that you corrected the values to match the above and commit your patch.
Fixed, thanks! https://hg.libsdl.org/SDL/rev/ea7c4b476853 |
Created attachment 3119 [details] proposed patch Invalid direction on mouse wheel Patch tested in Centos 7 + Weston