Bug #1909
Mouse wheel events (pixel scroll vs. angle)
Description
At least on the Mac, Qt 5 mouse wheel events need to separately handle pixel and angle deltas.
Associated revisions
History
#1 Updated by skyjake about 10 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
#2 Updated by skyjake about 10 years ago
- Status changed from Resolved to Closed
Fixed|Input|Client|libgui: Handling mouse wheel events (Qt 5)
In Qt 5, the pixel and angle deltas are provided separately. The former
is for trackpads while the latter is for actual wheels.
Also fixed how the wheel steps are passed to the game's input handling,
so that only wheel step events are handled and not the pixel based
scrolling.
IssueID #1909