mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-30 04:54:20 +01:00
Corrected force feedback motor values on SONYWA sync change
This commit is contained in:
parent
87d8ae0c1d
commit
2c4ce7d672
@ -1049,7 +1049,7 @@ namespace DS4Windows
|
||||
x360controls[ind].Disconnect();
|
||||
x360controls[ind] = null;
|
||||
useDInputOnly[ind] = true;
|
||||
LogDebug("X360 Controller # " + (ind + 1) + " unplugged");
|
||||
LogDebug("X360 Controller #" + (ind + 1) + " unplugged");
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -1058,13 +1058,13 @@ namespace DS4Windows
|
||||
{
|
||||
LogDebug("Plugging in X360 Controller #" + (ind + 1));
|
||||
x360controls[ind] = new Xbox360Controller(vigemTestClient);
|
||||
x360controls[ind].Connect();
|
||||
x360controls[ind].FeedbackReceived += (eventsender, args) =>
|
||||
{
|
||||
setRumble(args.SmallMotor, args.LargeMotor, ind);
|
||||
SetDevRumble(device, args.LargeMotor, args.SmallMotor, ind);
|
||||
};
|
||||
x360controls[ind].Connect();
|
||||
useDInputOnly[ind] = false;
|
||||
LogDebug("X360 Controller # " + (ind + 1) + " connected");
|
||||
LogDebug("X360 Controller #" + (ind + 1) + " connected");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user