aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Event.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-13 08:16:48 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-13 08:16:48 +0100
commit193d5bf4d9577e63202cec45b21ed85a76a89f09 (patch)
treef25e2f1d0efebcb72e3c411f380222a84459e37a /src/crepe/api/Event.h
parent6e2aa75019a28c298454f50b7bfb0dca100e0936 (diff)
keyboard state implemented
Diffstat (limited to 'src/crepe/api/Event.h')
-rw-r--r--src/crepe/api/Event.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/crepe/api/Event.h b/src/crepe/api/Event.h
index d222e51..66dd0cc 100644
--- a/src/crepe/api/Event.h
+++ b/src/crepe/api/Event.h
@@ -2,8 +2,6 @@
// TODO discussing the location of these events
#include <string>
-#include <unordered_map>
-
#include "KeyCodes.h"
#include "types.h"
@@ -25,7 +23,6 @@ public:
//! The key that was pressed.
Keycode key = Keycode::NONE;
- keyboard_state_t keyboard_state;
};
/**
@@ -35,7 +32,6 @@ class KeyReleaseEvent : public Event {
public:
//! The key that was released.
Keycode key = Keycode::NONE;
- keyboard_state_t keyboard_state;
};
/**