chickadee » sdl2 » mouse-wheel-event-y

mouse-wheel-event-y eventprocedure
set! (mouse-wheel-event-y event) valsetter
mouse-wheel-event-y-set! event valsetter

Get or set the event's "y" field, as an integer (possibly negative) indicating the amount the wheel scrolled vertically. Positive numbers normally indicate scrolling away from the user, negative numbers indicate scrolling toward the user. But if the "direction" field is set to 'flipped in SDL 2.0.4 or higher, the meaning of this field is reversed.