chickadee » sdl2 » mouse-wheel-event-direction

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" scrolling mode.
"Flipped" or "natural" scrolling mode. You can multiple the "x" and "y" field values by -1 to get the "normal" values.

This procedure is available in sdl2 egg version 0.2.0 and higher. It requires SDL 2.0.4 or higher. It signals an error if the compiled version of SDL is not high enough. Use the libSDL-2.0.4+ feature identifier to check before calling this procedure.