minor fix for Booster.cxx

code cleanup in Genesis.cxx
This commit is contained in:
thrust26 2018-06-12 20:38:48 +02:00
parent a9cd833975
commit 60519dbc6a
2 changed files with 3 additions and 2 deletions

View File

@ -47,6 +47,7 @@ BoosterGrip::BoosterGrip(Jack jack, const Event& event, const System& system)
myXAxisValue = Event::SARightAxis0Value;
myYAxisValue = Event::SARightAxis1Value;
}
updateAnalogPin(Five, maximumResistance);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View File

@ -42,8 +42,8 @@ Genesis::Genesis(Jack jack, const Event& event, const System& system)
myFire2Event = Event::JoystickOneFire5;
}
updateAnalogPin(Five, minimumResistance); // TJ: This code is missing for the Booster Grip, so why is it here?
updateAnalogPin(Nine, minimumResistance); // TJ: Do we need this?
updateAnalogPin(Five, minimumResistance);
updateAnalogPin(Nine, minimumResistance);
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -