mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-11 15:59:08 +01:00
Remove unnecessary check
This commit is contained in:
parent
bf11a6d297
commit
2fa075348c
@ -1133,8 +1133,8 @@ namespace DS4Windows
|
|||||||
|
|
||||||
if (usingExtra == DS4Controls.None || usingExtra == dcs.control)
|
if (usingExtra == DS4Controls.None || usingExtra == dcs.control)
|
||||||
{
|
{
|
||||||
bool shiftE = !string.IsNullOrEmpty(dcs.shiftExtras) && dcs.shiftExtras != "0,0,0,0,0,0,0,0" && ShiftTrigger2(dcs.shiftTrigger, device, cState, eState, tp, fieldMapping);
|
bool shiftE = !string.IsNullOrEmpty(dcs.shiftExtras) && ShiftTrigger2(dcs.shiftTrigger, device, cState, eState, tp, fieldMapping);
|
||||||
bool regE = !string.IsNullOrEmpty(dcs.extras) && dcs.extras != "0,0,0,0,0,0,0,0";
|
bool regE = !string.IsNullOrEmpty(dcs.extras);
|
||||||
if ((regE || shiftE) && getBoolActionMapping2(device, dcs.control, cState, eState, tp, fieldMapping))
|
if ((regE || shiftE) && getBoolActionMapping2(device, dcs.control, cState, eState, tp, fieldMapping))
|
||||||
{
|
{
|
||||||
usingExtra = dcs.control;
|
usingExtra = dcs.control;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user