Enable the virtual joystick API by default

This commit is contained in:
Sam Lantinga
2020-04-13 08:18:16 -07:00
parent ef147d2e29
commit e6c640f314
9 changed files with 14 additions and 7 deletions

View File

@@ -193,6 +193,7 @@ typedef unsigned int uintptr_t;
#define SDL_JOYSTICK_DISABLED 1
#define SDL_HAPTIC_DISABLED 1
#else
#define SDL_JOYSTICK_VIRTUAL 1
#define SDL_JOYSTICK_XINPUT 1
#define SDL_HAPTIC_XINPUT 1
#endif