Description
On some platforms the system sends its own inertial scrolling events. For example, on MacOS these can be identified by checking whether the event's momentumPhase is set.
However, an application may want to distinguish between "device" scroll events and "synthetic" scroll events. For example, changing the value of a slider or knob by scrolling on it should ideally be free of inertia. I propose adding a is_synthetic: bool field to the MouseWheel event, similar to the KeyboardInput event, and setting that to true for an event that originates from inertial scrolling.
Relevant platforms
No response
Description
On some platforms the system sends its own inertial scrolling events. For example, on MacOS these can be identified by checking whether the event's
momentumPhaseis set.However, an application may want to distinguish between "device" scroll events and "synthetic" scroll events. For example, changing the value of a slider or knob by scrolling on it should ideally be free of inertia. I propose adding a
is_synthetic: boolfield to theMouseWheelevent, similar to theKeyboardInputevent, and setting that to true for an event that originates from inertial scrolling.Relevant platforms
No response