mirror of
https://github.com/Maschell/controller_patcher.git
synced 2024-11-22 03:59:16 +01:00
Fixed config files for controller which already have default settings.
This commit is contained in:
parent
1c3935dd93
commit
e3af97b932
@ -254,6 +254,8 @@ int ConfigParser::getSlotController(std::string identify){
|
||||
this->pid = pid;
|
||||
DeviceInfo deviceinfo;
|
||||
memset(&deviceinfo,0,sizeof(deviceinfo));
|
||||
deviceinfo.vidpid.vid = vid;
|
||||
deviceinfo.vidpid.pid = pid;
|
||||
int result = ControllerPatcherUtils::getDeviceInfoFromVidPid(&deviceinfo);
|
||||
int slot = deviceinfo.slotdata.deviceslot;
|
||||
int hid = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user