RMG-Input: use SDL GUID (#518)

This commit is contained in:
bmsuseluda authored and GitHub committed 2026-09-17 13:35:41 +02:00
1 parent 90ab075de4
commit aadb31cd53
13 files changed
+93 -13

No files matched your search

@@ -312,10 +312,10 @@ void MainDialog::on_tabWidget_currentChanged(int index)
}
}
void MainDialog::on_SDLThread_DeviceFound(QString name, QString path, QString serial, SDL_JoystickID joystickId)
void MainDialog::on_SDLThread_DeviceFound(QString name, QString path, QString serial, QString guid, SDL_JoystickID joystickId)
{
const InputDevice inputDevice = { InputDeviceType::Joystick, name.toStdString(),
path.toStdString(), serial.toStdString(), joystickId };
path.toStdString(), serial.toStdString(), guid.toStdString(), joystickId };
this->inputDeviceList.append(inputDevice);
}