Mercurial > sdl-ios-xcode
diff include/SDL_events.h @ 2152:003c1b5b07da
Fixed bug #382
Added horizontal scrolling support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 06 Jul 2007 09:22:18 +0000 |
parents | 55c7932d1fdb |
children | c97ad1abe05b |
line wrap: on
line diff
--- 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;