aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/KeyCodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/KeyCodes.h')
-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