chickadee » sdl2 » mouse-wheel-event-x

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

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