aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 13:46:45 +0100
committerWBoerenkamps <wrj.boerenkamps@student.avans.nl>2024-12-09 13:46:45 +0100
commit87c41870e7e66308ee0c74270e1f91f4943bd733 (patch)
tree244184f92420a77da2d6d7176d65fcca2efe60e7 /src/crepe/api
parente3318b7e0e075567a6a9e29239e074f4e02fc595 (diff)
testing window events
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/KeyCodes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/KeyCodes.h b/src/crepe/api/KeyCodes.h
index 6204cf2..f704fbb 100644
--- a/src/crepe/api/KeyCodes.h
+++ b/src/crepe/api/KeyCodes.h
@@ -13,7 +13,7 @@ enum class MouseButton {
};
//! Enumeration for keyboard key inputs, including printable characters, function keys, and keypad keys.
-enum class Keycode {
+typedef enum {
NONE = 0, //!< No key input.
SPACE = 32, //!< Spacebar.
APOSTROPHE = 39, //!< Apostrophe (').
@@ -151,6 +151,6 @@ enum class Keycode {
/// \}
MENU = 348, //!< Menu key.
//! Not actually a key instead its the amount of keycodes there are for array indexing
- NUM_KEYCODES = 113,
-};
+ NUM_KEYCODES = 512,
+} Keycode;
} // namespace crepe