Skip to content

Mouse wheel

mouse wheel

Every tick of the wheel generates a ButtonPress and ButtonRelease (of
mouse button 4 (Up) and 5 (Down)).

using the wheel is like clicking a virtual up or down button
repeatedly.

How those events are used to scroll lines or something else is for the application to handle.