Scroll wheel.
Hover the pad and scroll. Each tick is counted and visualised. Tilt your wheel side-to-side if it supports horizontal scroll — most office mice do.
Browsers report wheel deltas in pixels, lines, or pages. We normalise to discrete ticks using deltaMode and the sign of deltaY. Smooth-scroll mice will produce many small events per physical detent.