mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-10-14 14:30:12 +02:00
RMG-Input: use SDL GUID (#518)
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user