From c8f029dba9be8804b6dad2b81aae9dc29c283e91 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 11 Nov 2021 18:26:25 +0100 Subject: [PATCH] Expose `MAX_KEYBOARD_KEYS` and `MAX_MOUSE_BUTTONS` #2127 --- src/config.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/config.h b/src/config.h index aea7df78..d3678180 100644 --- a/src/config.h +++ b/src/config.h @@ -70,11 +70,14 @@ #define MAX_FILEPATH_LENGTH 512 // Maximum length supported for filepaths #endif -#define MAX_GAMEPADS 4 // Max number of gamepads supported -#define MAX_GAMEPAD_AXIS 8 // Max number of axis supported (per gamepad) -#define MAX_GAMEPAD_BUTTONS 32 // Max bumber of buttons supported (per gamepad) +#define MAX_KEYBOARD_KEYS 512 // Maximum number of keyboard keys supported +#define MAX_MOUSE_BUTTONS 8 // Maximum number of mouse buttons supported +#define MAX_GAMEPADS 4 // Maximum number of gamepads supported +#define MAX_GAMEPAD_AXIS 8 // Maximum number of axis supported (per gamepad) +#define MAX_GAMEPAD_BUTTONS 32 // Maximum number of buttons supported (per gamepad) #define MAX_TOUCH_POINTS 8 // Maximum number of touch points supported -#define MAX_KEY_PRESSED_QUEUE 16 // Max number of characters in the key input queue +#define MAX_KEY_PRESSED_QUEUE 16 // Maximum number of keys in the key input queue +#define MAX_CHAR_PRESSED_QUEUE 16 // Maximum number of characters in the char input queue #define STORAGE_DATA_FILE "storage.data" // Automatic storage filename