From 6e2aa75019a28c298454f50b7bfb0dca100e0936 Mon Sep 17 00:00:00 2001 From: WBoerenkamps Date: Thu, 12 Dec 2024 17:46:21 +0100 Subject: save --- src/crepe/api/KeyCodes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/crepe/api/KeyCodes.h') diff --git a/src/crepe/api/KeyCodes.h b/src/crepe/api/KeyCodes.h index f704fbb..4a3bf57 100644 --- a/src/crepe/api/KeyCodes.h +++ b/src/crepe/api/KeyCodes.h @@ -1,4 +1,7 @@ #pragma once + +#include + namespace crepe { //! Enumeration for mouse button inputs, including standard and extended buttons. enum class MouseButton { @@ -153,4 +156,6 @@ typedef enum { //! Not actually a key instead its the amount of keycodes there are for array indexing NUM_KEYCODES = 512, } Keycode; + +typedef std::unordered_map keyboard_state_t; } // namespace crepe -- cgit v1.2.3