Enable virtual joystick support for Emscripten

This commit is contained in:
Sam Lantinga 2024-06-21 12:06:53 -07:00
parent cf267e4985
commit fa5367d379
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@
/* Enable various input drivers */
#define SDL_JOYSTICK_EMSCRIPTEN 1
#define SDL_JOYSTICK_VIRTUAL 1
/* Enable various sensor drivers */
#define SDL_SENSOR_DUMMY 1