mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-27 03:24:20 +01:00
Fixed build issue
This commit is contained in:
parent
8750d6ea08
commit
c245b2fc2f
@ -716,19 +716,6 @@ namespace DS4Windows
|
|||||||
device.Report += tempEvnt;
|
device.Report += tempEvnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!getDInputOnly(Index) && device.isSynced())
|
|
||||||
{
|
|
||||||
EventHandler<EventArgs> tempEvnt = (sender, args) =>
|
|
||||||
{
|
|
||||||
DualShockPadMeta padDetail = new DualShockPadMeta();
|
|
||||||
GetPadDetailForIdx(tempIdx, ref padDetail);
|
|
||||||
_udpServer.NewReportIncoming(ref padDetail, CurrentState[tempIdx]);
|
|
||||||
};
|
|
||||||
|
|
||||||
device.Report += tempEvnt;
|
|
||||||
device.MotionEvent = tempEvnt;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!getDInputOnly(Index) && device.isSynced())
|
if (!getDInputOnly(Index) && device.isSynced())
|
||||||
{
|
{
|
||||||
//int xinputIndex = x360Bus.FirstController + Index;
|
//int xinputIndex = x360Bus.FirstController + Index;
|
||||||
|
Loading…
Reference in New Issue
Block a user