From 180d770ecb7c6a3f6cf584dc8de8a70ab7cfa030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Mal=C3=A9cot?= Date: Sat, 9 May 2020 11:48:51 +0200 Subject: [PATCH] Revert Gamepad MAX definitions --- src/core.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/core.c b/src/core.c index c90084459..e00793e71 100644 --- a/src/core.c +++ b/src/core.c @@ -291,15 +291,9 @@ #define MOUSE_SENSITIVITY 0.8f #endif -#ifndef MAX_GAMEPADS - #define MAX_GAMEPADS 4 // Max number of gamepads supported -#endif -#ifndef MAX_GAMEPAD_AXIS - #define MAX_GAMEPAD_AXIS 6 // Max number of axis supported (per gamepad) -#endif -#ifndef MAX_GAMEPAD_BUTTONS - #define MAX_GAMEPAD_BUTTONS 32 // Max bumber of buttons supported (per gamepad) -#endif +#define MAX_GAMEPADS 4 // Max number of gamepads supported +#define MAX_GAMEPAD_AXIS 6 // Max number of axis supported (per gamepad) +#define MAX_GAMEPAD_BUTTONS 32 // Max bumber of buttons supported (per gamepad) #define MAX_CHARS_QUEUE 16 // Max number of characters in the input queue