summaryrefslogtreecommitdiff
path: root/include/SDL_events.h
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2007-07-06 09:22:18 +0000
committerSam Lantinga <slouken@libsdl.org>2007-07-06 09:22:18 +0000
commit43e5d2b9386b6a6ad508e5592f5ebac9a087248a (patch)
treebbb52a918d8e1943e13e39e2817c7dd403efd3fc /include/SDL_events.h
parente33ee1a0e230aec64461e46bd7f0bf4bef6c307e (diff)
Fixed bug #382
Added horizontal scrolling support --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402428
Diffstat (limited to 'include/SDL_events.h')
-rw-r--r--include/SDL_events.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/SDL_events.h b/include/SDL_events.h
index ae6612e9..f06a8ba3 100644
--- a/include/SDL_events.h
+++ b/include/SDL_events.h
@@ -199,7 +199,8 @@ typedef struct SDL_MouseWheelEvent
{
Uint8 type; /**< SDL_MOUSEWHEEL */
Uint8 which; /**< The mouse device index */
- int motion; /**< The direction and distance scrolled */
+ int x; /**< The amount scrolled horizontally */
+ int y; /**< The amount scrolled vertically */
SDL_WindowID windowID; /**< The window with mouse focus, if any */
} SDL_MouseWheelEvent;