mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-23 23:21:49 +01:00
Changed test rumble check to remove implicit data coercion
This commit is contained in:
parent
3da6face89
commit
db859fb4db
@ -106,7 +106,8 @@ namespace DS4Windows
|
||||
|
||||
public bool IsRumbleSet()
|
||||
{
|
||||
return RumbleMotorsExplicitlyOff || RumbleMotorStrengthLeftHeavySlow != 0 || RumbleMotorStrengthRightLightFast != 0;
|
||||
const byte zero = 0;
|
||||
return RumbleMotorsExplicitlyOff || RumbleMotorStrengthLeftHeavySlow != zero || RumbleMotorStrengthRightLightFast != zero;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user