mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Add new (temporary) JoystickSDL3 file to build projects.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user