From ea7d7ec301968f3a542de93f487f9501b70c0cd4 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Mon, 25 Nov 2024 11:48:01 +0100 Subject: code standard fixing --- src/crepe/facade/SDLContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crepe/facade') diff --git a/src/crepe/facade/SDLContext.cpp b/src/crepe/facade/SDLContext.cpp index 6371a51..a37392f 100644 --- a/src/crepe/facade/SDLContext.cpp +++ b/src/crepe/facade/SDLContext.cpp @@ -360,8 +360,8 @@ std::vector SDLContext::get_events(){ { event_list.push_back(EventData{ .event_type = SDLContext::Event::MOUSEMOVE, - .mouse_position = {event.button.x,event.button.y}, - .rel_mouse_move = {event.motion.yrel,event.motion.xrel} + .mouse_position = {event.motion.x,event.motion.y}, + .rel_mouse_move = {event.motion.xrel,event.motion.yrel} }); } break; -- cgit v1.2.3