Add support for SDL controller accelerometer/gyro events

This commit is contained in:
Ethan Lee 2021-09-08 23:04:46 -04:00
parent 4817b00843
commit 853909996b
6 changed files with 187 additions and 4 deletions

View file

@ -144,7 +144,7 @@ if (ENABLE_SDL2)
if (CITRA_USE_BUNDLED_SDL2)
# Detect toolchain and platform
if ((MSVC_VERSION GREATER_EQUAL 1910 AND MSVC_VERSION LESS 1930) AND ARCHITECTURE_x86_64)
set(SDL2_VER "SDL2-2.0.12")
set(SDL2_VER "SDL2-2.0.16")
else()
message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable CITRA_USE_BUNDLED_SDL2 and provide your own.")
endif()