Skip to content

Commit

Permalink
Update Framework Submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0xFF committed Oct 31, 2023
1 parent 02151c7 commit 69959d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Source/ui_qt/win32/InputProviderDirectInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ std::string CInputProviderDirectInput::GetTargetDescription(const BINDINGTARGET&
std::vector<DEVICEINFO> CInputProviderDirectInput::GetDevices() const
{
std::vector<DEVICEINFO> devices;
for(auto deviceGuid : m_diManager->GetDevicesIds())
for(auto deviceGuid : m_diManager->GetJoystickIds())
{
std::string deviceName = "Unknown Device";
DIDEVICEINSTANCE deviceInstance = {};
Expand All @@ -78,7 +78,7 @@ std::vector<DEVICEINFO> 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)
Expand Down
2 changes: 1 addition & 1 deletion deps/Framework

0 comments on commit 69959d6

Please sign in to comment.