diff --git a/GlosSITarget/InputRedirector.cpp b/GlosSITarget/InputRedirector.cpp index 7a8dc3d..1854861 100644 --- a/GlosSITarget/InputRedirector.cpp +++ b/GlosSITarget/InputRedirector.cpp @@ -216,6 +216,10 @@ void InputRedirector::runLoop() vigem_target_get_pid(vt_pad_[i])); if (Settings::controller.emulateDS4) { + // TODO: make sense of DS4_OUTPUT_BUFFER + // there is no doc? Ask @Nef about this... + // ReSharper disable once CppDeprecatedEntity +#pragma warning(disable : 4996) const auto callback_register_res = vigem_target_ds4_register_notification( driver_, vt_pad_[i], diff --git a/ViGEm_BuildConfig.patch b/ViGEm_BuildConfig.patch index eba667b..261693a 100644 --- a/ViGEm_BuildConfig.patch +++ b/ViGEm_BuildConfig.patch @@ -1,8 +1,38 @@ -diff --git a/src/ViGEmClient.vcxproj b/src/ViGEmClient.vcxproj -index 7c186414e62a6334fbcd518d506f55db57491dfe..6b71920a9b848e4a5a3ffb314a2e009a7a22502f 100644 ---- a/src/ViGEmClient.vcxproj -+++ b/src/ViGEmClient.vcxproj -@@ -75,26 +75,26 @@ +diff --git forkSrcPrefix/src/ViGEmClient.vcxproj forkDstPrefix/src/ViGEmClient.vcxproj +index 7c186414e62a6334fbcd518d506f55db57491dfe..2955df4d391b37bf0b71e17df8bd161c1014a0c4 100644 +--- forkSrcPrefix/src/ViGEmClient.vcxproj ++++ forkDstPrefix/src/ViGEmClient.vcxproj +@@ -49,52 +49,52 @@ + + StaticLibrary + true +- v142 ++ v143 + Unicode + + + DynamicLibrary + true +- v142 ++ v143 + Unicode + + + StaticLibrary + false +- v142 ++ v143 + true + Unicode + + + DynamicLibrary + false +- v142 ++ v143 + true + Unicode + StaticLibrary true diff --git a/deps/ViGEmClient b/deps/ViGEmClient index 3bc2cee..20fb9cb 160000 --- a/deps/ViGEmClient +++ b/deps/ViGEmClient @@ -1 +1 @@ -Subproject commit 3bc2cee48ab0b10b5dd31323a621677175cfb00d +Subproject commit 20fb9cb05275acad6ab5c786160656d8f83e0c6f