include/SDL_events.h
changeset 2152 003c1b5b07da
parent 2131 55c7932d1fdb
child 2300 c97ad1abe05b
--- a/include/SDL_events.h	Thu Jul 05 06:35:40 2007 +0000
+++ b/include/SDL_events.h	Fri Jul 06 09:22:18 2007 +0000
@@ -199,7 +199,8 @@
 {
     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;