aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/KeyCodes.h
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-13 09:18:03 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-13 09:18:03 +0100
commit4b816c460d3b2fb81123ac7ce6113216fc7c9b17 (patch)
tree3ab348faade57a4379a0205e7d89f270f4b6fe45 /src/crepe/api/KeyCodes.h
parent2b3659c8c5dace0ff9ff9cb8b9421f7f3f890218 (diff)
reverted Keycode back
Diffstat (limited to 'src/crepe/api/KeyCodes.h')
-rw-r--r--src/crepe/api/KeyCodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/api/KeyCodes.h b/src/crepe/api/KeyCodes.h
index a9141e2..a13d1af 100644
--- a/src/crepe/api/KeyCodes.h
+++ b/src/crepe/api/KeyCodes.h
@@ -16,7 +16,7 @@ enum class MouseButton {
};
//! Enumeration for keyboard key inputs, including printable characters, function keys, and keypad keys.
-typedef enum {
+enum class Keycode {
NONE = 0, //!< No key input.
SPACE = 32, //!< Spacebar.
APOSTROPHE = 39, //!< Apostrophe (').
@@ -153,7 +153,7 @@ typedef enum {
RIGHT_SUPER = 347,
/// \}
MENU = 348, //!< Menu key.
-} Keycode;
+};
} // namespace crepe