Modify default feedback length for Initial D games etc
This commit is contained in:
parent
542ba5f5d2
commit
fffe8be168
@ -216,32 +216,32 @@ EscapeKeyExitViaPlugin=0
|
||||
|
||||
[InitialD 4]
|
||||
GameId=16
|
||||
FeedbackLength=80
|
||||
FeedbackLength=5000
|
||||
PowerMode=0
|
||||
|
||||
[InitialD 4 Japan]
|
||||
GameId=24
|
||||
FeedbackLength=80
|
||||
FeedbackLength=5000
|
||||
PowerMode=0
|
||||
|
||||
[InitialD 5]
|
||||
GameId=23
|
||||
FeedbackLength=80
|
||||
FeedbackLength=5000
|
||||
PowerMode=0
|
||||
|
||||
[InitialD 6]
|
||||
GameId=8
|
||||
FeedbackLength=80
|
||||
FeedbackLength=5000
|
||||
PowerMode=0
|
||||
|
||||
[InitialD 7]
|
||||
GameId=17
|
||||
FeedbackLength=80
|
||||
FeedbackLength=5000
|
||||
PowerMode=0
|
||||
|
||||
[InitialD 8]
|
||||
GameId=18
|
||||
FeedbackLength=80
|
||||
FeedbackLength=5000
|
||||
PowerMode=0
|
||||
|
||||
[Ford Racing]
|
||||
@ -625,7 +625,7 @@ Gear2Device2=99
|
||||
Gear3Device2=99
|
||||
Gear4Device2=99
|
||||
PowerModeInitialDDemul=0
|
||||
FeedbackLengthInitialDDemul=500
|
||||
FeedbackLengthInitialDDemul=5000
|
||||
MinForceInitialDDemul=0
|
||||
MaxForceInitialDDemul=100
|
||||
AlternativeMinForceLeftInitialDDemul=0
|
||||
|
@ -152,14 +152,14 @@ void InitialD6::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
|
||||
triggers->Friction(percentForce);
|
||||
triggers->Rumble(percentForce, percentForce, percentLength);
|
||||
}
|
||||
if ((ff > 0x40037)& (ff < 0x40080))
|
||||
if ((ff > 0x40037) && (ff < 0x40080))
|
||||
{
|
||||
double percentForce = (262272 - ff) / 72.0;
|
||||
double percentLength = 100;
|
||||
triggers->Rumble(percentForce, 0, percentLength);
|
||||
triggers->Constant(constants->DIRECTION_FROM_LEFT, percentForce);
|
||||
}
|
||||
else if ((ff > 0x40100)& (ff < 0x40149))
|
||||
else if ((ff > 0x40100) && (ff < 0x40149))
|
||||
{
|
||||
double percentForce = (ff - 262400) / 72.0;
|
||||
double percentLength = 100;
|
||||
|
@ -152,14 +152,14 @@ void InitialD7::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
|
||||
triggers->Friction(percentForce);
|
||||
triggers->Rumble(percentForce, percentForce, percentLength);
|
||||
}
|
||||
if ((ff > 0x40037)& (ff < 0x40080))
|
||||
if ((ff > 0x40037) && (ff < 0x40080))
|
||||
{
|
||||
double percentForce = (262272 - ff) / 72.0;
|
||||
double percentLength = 100;
|
||||
triggers->Rumble(percentForce, 0, percentLength);
|
||||
triggers->Constant(constants->DIRECTION_FROM_LEFT, percentForce);
|
||||
}
|
||||
else if ((ff > 0x40100)& (ff < 0x40149))
|
||||
else if ((ff > 0x40100) && (ff < 0x40149))
|
||||
{
|
||||
double percentForce = (ff - 262400) / 72.0;
|
||||
double percentLength = 100;
|
||||
|
@ -152,14 +152,14 @@ void InitialD8::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTrig
|
||||
triggers->Friction(percentForce);
|
||||
triggers->Rumble(percentForce, percentForce, percentLength);
|
||||
}
|
||||
if ((ff > 0x40037)& (ff < 0x40080))
|
||||
if ((ff > 0x40037) && (ff < 0x40080))
|
||||
{
|
||||
double percentForce = (262272 - ff) / 72.0;
|
||||
double percentLength = 100;
|
||||
triggers->Rumble(percentForce, 0, percentLength);
|
||||
triggers->Constant(constants->DIRECTION_FROM_LEFT, percentForce);
|
||||
}
|
||||
else if ((ff > 0x40100)& (ff < 0x40149))
|
||||
else if ((ff > 0x40100) && (ff < 0x40149))
|
||||
{
|
||||
double percentForce = (ff - 262400) / 72.0;
|
||||
double percentLength = 100;
|
||||
|
Loading…
Reference in New Issue
Block a user