diff options
| author | Ray <[email protected]> | 2021-11-11 18:26:25 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2021-11-11 18:26:25 +0100 |
| commit | c8f029dba9be8804b6dad2b81aae9dc29c283e91 (patch) | |
| tree | cc68d4f92ca68160f7760947f32d735c599316a1 | |
| parent | da7e0ba9d9a1a7ef810f604546df052fad8653d2 (diff) | |
| download | raylib-c8f029dba9be8804b6dad2b81aae9dc29c283e91.tar.gz raylib-c8f029dba9be8804b6dad2b81aae9dc29c283e91.zip | |
Expose `MAX_KEYBOARD_KEYS` and `MAX_MOUSE_BUTTONS` #2127
| -rw-r--r-- | src/config.h | 11 |
1 files 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 |
