chickadee » sdl2 » mouse-wheel-event-direction-set!

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

Get or set the event's "direction" field, as one of the following symbols:

'normal
"Normal" scrolling mode.
'flipped
"Flipped" or "natural" scrolling mode. You can multiple the "x" and "y" field values by -1 to get the "normal" values.

Requires SDL 2.0.4 or higher, and sdl2 egg 0.2.0 or higher.