mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
fix incorrect struct member name in test code for wheel direction
This commit is contained in:
parent
bd4dd2b568
commit
7810d19812
@ -1106,7 +1106,7 @@ SDLTest_PrintEvent(SDL_Event * event)
|
|||||||
break;
|
break;
|
||||||
case SDL_MOUSEWHEEL:
|
case SDL_MOUSEWHEEL:
|
||||||
SDL_Log("SDL EVENT: Mouse: wheel scrolled %d in x and %d in y (reversed: %d) in window %d",
|
SDL_Log("SDL EVENT: Mouse: wheel scrolled %d in x and %d in y (reversed: %d) in window %d",
|
||||||
event->wheel.x, event->wheel.y, event->wheel.reversed, event->wheel.windowID);
|
event->wheel.x, event->wheel.y, event->wheel.direction, event->wheel.windowID);
|
||||||
break;
|
break;
|
||||||
case SDL_JOYDEVICEADDED:
|
case SDL_JOYDEVICEADDED:
|
||||||
SDL_Log("SDL EVENT: Joystick index %d attached",
|
SDL_Log("SDL EVENT: Joystick index %d attached",
|
||||||
|
Loading…
Reference in New Issue
Block a user