[SDL] enable hidapi (#25022)

* [SDL] enable hidapi

* update version

Co-authored-by: FrankXie <v-frankxie@microsoft.com>
This commit is contained in:
JonLiu1993 2022-06-03 06:31:59 +08:00 committed by GitHub
parent d9e6139cd4
commit 38bb87c557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 1 deletions

View File

@ -38,6 +38,7 @@ vcpkg_cmake_configure(
-DSDL_SHARED=${SDL_SHARED}
-DSDL_FORCE_STATIC_VCRT=${FORCE_STATIC_VCRT}
-DSDL_LIBC=ON
-DSDL_HIDAPI_JOYSTICK=ON
)
vcpkg_cmake_install()

View File

@ -1,6 +1,7 @@
{
"name": "sdl2",
"version": "2.0.22",
"port-version": 1,
"description": "Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.",
"homepage": "https://www.libsdl.org/download-2.0.php",
"license": "Zlib",

View File

@ -6406,7 +6406,7 @@
},
"sdl2": {
"baseline": "2.0.22",
"port-version": 0
"port-version": 1
},
"sdl2-gfx": {
"baseline": "1.0.4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "879012d1bbd3ae67fc697109eedbe6ff713c2c34",
"version": "2.0.22",
"port-version": 1
},
{
"git-tree": "6d875fe2feac0480f61fcf890136e045c12429f1",
"version": "2.0.22",