Update wheel stiffness for DD and H2Overdrive
This commit is contained in:
parent
8666be27e1
commit
933bc3e7c3
@ -16,12 +16,19 @@ along with FFB Arcade Plugin.If not, see < https://www.gnu.org/licenses/>.
|
||||
|
||||
void DirtyDrivin::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTriggers* triggers) {
|
||||
|
||||
float ffstiffness = helpers->ReadFloat32(0x886EC0, false);
|
||||
float ff = helpers->ReadFloat32(0x886EC4, false);
|
||||
|
||||
helpers->log("got value: ");
|
||||
std::string ffs = std::to_string(ff);
|
||||
helpers->log((char*)ffs.c_str());
|
||||
|
||||
//if (ffstiffness > 0)
|
||||
//{
|
||||
//double percentForce = ffstiffness / 1.25;
|
||||
//triggers->Spring(percentForce);
|
||||
//}
|
||||
|
||||
if (ff > 0)
|
||||
{
|
||||
double percentForce = ff;
|
||||
|
@ -16,12 +16,19 @@ along with FFB Arcade Plugin.If not, see < https://www.gnu.org/licenses/>.
|
||||
|
||||
void H2Overdrive::FFBLoop(EffectConstants* constants, Helpers* helpers, EffectTriggers* triggers) {
|
||||
|
||||
float ffstiffness = helpers->ReadFloat32(0x392C54, true);
|
||||
float ff = helpers->ReadFloat32(0x392C58, true);
|
||||
|
||||
helpers->log("got value: ");
|
||||
std::string ffs = std::to_string(ff);
|
||||
helpers->log((char*)ffs.c_str());
|
||||
|
||||
if (ffstiffness > 0)
|
||||
{
|
||||
double percentForce = ffstiffness / 1.25;
|
||||
triggers->Spring(percentForce);
|
||||
}
|
||||
|
||||
if (ff > 0)
|
||||
{
|
||||
double percentForce = ff;
|
||||
|
@ -115,6 +115,7 @@ extremely generous.
|
||||
-GTI Club Supermini Festa
|
||||
-Gun Buster
|
||||
-House of the dead 4
|
||||
-Hyperdrive
|
||||
-Indy 500
|
||||
-Initial D Zero
|
||||
-Initial D 4
|
||||
@ -166,6 +167,7 @@ extremely generous.
|
||||
-Turbo Outrun
|
||||
-Turkey Shoot
|
||||
-Under Fire
|
||||
-Vapor TRX
|
||||
-Virtua Racing
|
||||
-Wacky Races
|
||||
-Wangan Midnight Maximum Tune 5
|
||||
|
Loading…
x
Reference in New Issue
Block a user