DRAFT |
SDL_MouseWheelEvent
A structure that contains mouse wheel event information.
Contents
Data Fields
Uint32 |
type |
SDL_MOUSEWHEEL |
Uint32 |
windowID |
the window with mouse focus, if any |
int |
x |
the amount scrolled horizontally |
int |
y |
the amount scrolled vertically |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
SDL_MouseWheelEvent is a member of the SDL_Event structure and is used when an event of type SDL_MOUSEWHEEL is reported.
An SDL_MOUSEWHEEL event occurs whenever a user moves the mouse wheel.
Related Enumerations
