Add new (temporary) JoystickSDL3 file to build projects.

This commit is contained in:
Sasha Szpakowski
2024-03-25 21:01:05 -03:00
parent 8d360113f8
commit 5ded7ed4d3
3 changed files with 16 additions and 0 deletions
@@ -27,6 +27,8 @@
// SDL
#include <SDL_version.h>
#if SDL_VERSION_ATLEAST(3, 0, 0)
// C++
#include <algorithm>
#include <limits>
@@ -646,3 +648,5 @@ EnumMap<Joystick::GamepadButton, SDL_GamepadButton, Joystick::GAMEPAD_BUTTON_MAX
} // sdl
} // joystick
} // love
#endif // SDL_VERSION_ATLEAST(3, 0, 0)