From 69959d6fe732089ee4ebd8baddb3ec56e494fd57 Mon Sep 17 00:00:00 2001 From: Mahmood - Zer0xFF <5013823+Zer0xFF@users.noreply.github.com> Date: Tue, 31 Oct 2023 18:14:29 +0000 Subject: [PATCH] Update Framework Submodule --- Source/ui_qt/win32/InputProviderDirectInput.cpp | 4 ++-- deps/Framework | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/ui_qt/win32/InputProviderDirectInput.cpp b/Source/ui_qt/win32/InputProviderDirectInput.cpp index 496ec1d849..710ac8afc3 100644 --- a/Source/ui_qt/win32/InputProviderDirectInput.cpp +++ b/Source/ui_qt/win32/InputProviderDirectInput.cpp @@ -61,7 +61,7 @@ std::string CInputProviderDirectInput::GetTargetDescription(const BINDINGTARGET& std::vector CInputProviderDirectInput::GetDevices() const { std::vector devices; - for(auto deviceGuid : m_diManager->GetDevicesIds()) + for(auto deviceGuid : m_diManager->GetJoystickIds()) { std::string deviceName = "Unknown Device"; DIDEVICEINSTANCE deviceInstance = {}; @@ -78,7 +78,7 @@ std::vector CInputProviderDirectInput::GetDevices() const void CInputProviderDirectInput::SetVibration(DeviceIdType deviceId, uint8 largeMotor, uint8 smallMotor) { auto guid = DeviceIdToGuid(deviceId); - m_diManager->SetVibration(guid, largeMotor, smallMotor); + m_diManager->SetJoystickVibration(guid, largeMotor, smallMotor); } void CInputProviderDirectInput::HandleInputEvent(const GUID& deviceId, uint32 keyId, uint32 value) diff --git a/deps/Framework b/deps/Framework index ed928f459a..8617f8f52b 160000 --- a/deps/Framework +++ b/deps/Framework @@ -1 +1 @@ -Subproject commit ed928f459a706a537795b6659222e019c02c21ab +Subproject commit 8617f8f52b0817a6b96209d0fe1476acce1a96d3