mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-23 13:41:15 +01:00
Remove unused parameters from method call
This commit is contained in:
parent
62051665bd
commit
9ae43db945
@ -215,8 +215,7 @@ namespace DS4Windows
|
|||||||
DS4LightBar.forcelight[i] = false;
|
DS4LightBar.forcelight[i] = false;
|
||||||
DS4LightBar.forcedFlash[i] = 0;
|
DS4LightBar.forcedFlash[i] = 0;
|
||||||
DS4LightBar.defaultLight = true;
|
DS4LightBar.defaultLight = true;
|
||||||
DS4LightBar.updateLightBar(DS4Controllers[i], i, CurrentState[i],
|
DS4LightBar.updateLightBar(DS4Controllers[i], i);
|
||||||
ExposedState[i], touchPad[i]);
|
|
||||||
tempDevice.IsRemoved = true;
|
tempDevice.IsRemoved = true;
|
||||||
Thread.Sleep(50);
|
Thread.Sleep(50);
|
||||||
}
|
}
|
||||||
@ -780,7 +779,7 @@ namespace DS4Windows
|
|||||||
Mapping.Commit(ind);
|
Mapping.Commit(ind);
|
||||||
|
|
||||||
// Update the GUI/whatever.
|
// Update the GUI/whatever.
|
||||||
DS4LightBar.updateLightBar(device, ind, cState, ExposedState[ind], touchPad[ind]);
|
DS4LightBar.updateLightBar(device, ind);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,8 +38,7 @@ namespace DS4Windows
|
|||||||
internal const int PULSE_CHARGING_DURATION = 4000;
|
internal const int PULSE_CHARGING_DURATION = 4000;
|
||||||
internal const double PULSE_CHARGING_SEGMENTS = PULSE_CHARGING_DURATION / 40;
|
internal const double PULSE_CHARGING_SEGMENTS = PULSE_CHARGING_DURATION / 40;
|
||||||
|
|
||||||
public static void updateLightBar(DS4Device device, int deviceNum, DS4State cState,
|
public static void updateLightBar(DS4Device device, int deviceNum)
|
||||||
DS4StateExposed eState, Mouse tp)
|
|
||||||
{
|
{
|
||||||
DS4Color color;
|
DS4Color color;
|
||||||
if (!defaultLight && !forcelight[deviceNum])
|
if (!defaultLight && !forcelight[deviceNum])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user