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.

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.