Is the scale of
MouseWheelDetails::deltaY specified somewhere?
On Windows a single click from an old-school mousewheel the Windows API will give you a value of ±120 (the value of
WHEEL_DELTA, Raymond Chen gives some background here), which is in JUCE scaled to the somewhat odd number 120/256. I have no idea about the other platforms.
But the API can also return multiples of 120 if clicks happen in rapid succession. I want to know how many clicks happened. Of course I can just use
wheel.deltaY * 256.0 / 120.0 but is there a more standard way to figure out the amount of clicks?