1
0
mirror of synced 2025-02-21 04:26:35 +01:00

fixed LGI & LGI3D to rumble always

This commit is contained in:
Aaron M 2019-10-25 17:19:37 +13:00
parent b3131300a0
commit a71698aa82
2 changed files with 16 additions and 16 deletions

View File

@ -113,7 +113,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers*
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if ((oldFloat2 != newFloat2) && (health2p != 0x1))
if ((oldFloat2 != newFloat2) && (health2p != 0x1))
{
if (HowtoRumbleHealthEffect == 0)
{
@ -155,7 +155,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers*
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x40)
if (ff1 == 0x40)
{
if (HowtoRumbleMotorEffect == 0)
{
@ -176,7 +176,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers*
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x4)
if (ff1 == 0x4)
{
if (HowtoRumbleKnockEffect == 0)
{
@ -197,7 +197,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers*
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x8)
if (ff1 == 0x8)
{
if (HowtoRumbleMotorEffect == 0)
{
@ -218,7 +218,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers*
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x24)
if (ff1 == 0x24)
{
if (HowtoRumbleKnockEffect == 0)
{
@ -242,7 +242,7 @@ void LGI::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers*
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x48)
if (ff1 == 0x48)
{
if (HowtoRumbleMotorEffect == 0)
{

View File

@ -114,7 +114,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if ((oldFloat2 != newFloat2) && (health2p != 0x1))
if ((oldFloat2 != newFloat2) && (health2p != 0x1))
{
if (HowtoRumbleHealthEffect == 0)
{
@ -156,7 +156,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x40)
if (ff1 == 0x40)
{
if (HowtoRumbleMotorEffect == 0)
{
@ -177,7 +177,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x22)
if (ff1 == 0x22)
{
if (HowtoRumbleKnockEffect == 0)
{
@ -198,7 +198,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x42)
if (ff1 == 0x42)
{
if (HowtoRumbleMotorEffect == 0)
{
@ -219,7 +219,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRight(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x4)
if (ff1 == 0x4)
{
if (HowtoRumbleKnockEffect == 0)
{
@ -240,7 +240,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x8)
if (ff1 == 0x8)
{
if (HowtoRumbleMotorEffect == 0)
{
@ -261,7 +261,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x6)
if (ff1 == 0x6)
{
if (HowtoRumbleKnockEffect == 0)
{
@ -282,7 +282,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0xA)
if (ff1 == 0xA)
{
if (HowtoRumbleMotorEffect == 0)
{
@ -303,7 +303,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x24)
if (ff1 == 0x24)
{
if (HowtoRumbleKnockEffect == 0)
{
@ -327,7 +327,7 @@ void LGI3D::FFBLoop(EffectConstants *constants, Helpers *helpers, EffectTriggers
triggers->LeftRightDevice2(percentForce, 0, percentLength);
}
}
else if (ff1 == 0x4A)
if (ff1 == 0x4A)
{
if (HowtoRumbleMotorEffect == 0)
{