From 4b816c460d3b2fb81123ac7ce6113216fc7c9b17 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Fri, 13 Dec 2024 09:18:03 +0100 Subject: reverted Keycode back --- src/crepe/api/KeyCodes.h | 4 ++-- 1 file 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 -- cgit v1.2.3