From 987fc16a8ae124548e2074d6f46806387c03e161 Mon Sep 17 00:00:00 2001
From: WBoerenkamps <wrj.boerenkamps@student.avans.nl>
Date: Sun, 24 Nov 2024 22:56:20 +0100
Subject: creating inputSystem tests

---
 src/crepe/api/Event.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

(limited to 'src/crepe/api/Event.h')

diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h
index bac8701..46dd86b 100644
--- a/src/crepe/api/Event.h
+++ b/src/crepe/api/Event.h
@@ -94,6 +94,18 @@ public:
     int rel_y; 
 };
 
+/**
+ * \brief Event triggered when the mouse is moved.
+ */
+class MouseScrollEvent : public Event {
+public:
+	//! X-coordinate of the mouse position at the time of the event.
+	int scroll_x = 0;
+
+	//! Y-coordinate of the mouse position at the time of the event.
+	int scroll_y = 0;
+	int direction = 0;
+};
 /**
  * \brief Event triggered during a collision between objects.
  */
-- 
cgit v1.2.3