mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Wayland: Improve support for discrete scrolling
This adds support for high-resolution scroll input scaled to match legacy discrete scroll input. It is available on compositors that support wl_seat version 8 or later. High-resolution "discrete" values now replace non-scaled scroll values when available.
This commit is contained in:
@@ -478,6 +478,8 @@ typedef struct _GLFWlibraryWayland
|
||||
double pointerY;
|
||||
double scrollX;
|
||||
double scrollY;
|
||||
double discreteX;
|
||||
double discreteY;
|
||||
int button;
|
||||
int action;
|
||||
} pending;
|
||||
|
||||
Reference in New Issue
Block a user