summaryrefslogtreecommitdiffstats
path: root/src/Event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Event.hpp')
-rw-r--r--src/Event.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Event.hpp b/src/Event.hpp
index b137a85..569be00 100644
--- a/src/Event.hpp
+++ b/src/Event.hpp
@@ -9,7 +9,7 @@
#include <variant>
#include <functional>
-#include <SFML/Window.hpp>
+#include <SDL.h>
#include "Vector.hpp"
#include "Packet.hpp"
@@ -119,11 +119,11 @@ struct MouseMovedData {
};
struct KeyPressedData {
- sf::Keyboard::Key key;
+ SDL_Scancode key;
};
struct KeyReleasedData {
- sf::Keyboard::Key key;
+ SDL_Scancode key;
};
struct InitalizeSectionRenderData {