Skip to content

Commit 676d684

Browse files
authored
Merge pull request #11 from dmadison/shifter-calibration
Tweak Logitech Shifter Calibration
2 parents 4a291e4 + 7ff8c3a commit 676d684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SimRacing.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ String Shifter::getGearString() const {
655655
*/
656656
const float AnalogShifter::CalEngagementPoint = 0.70;
657657
const float AnalogShifter::CalReleasePoint = 0.50;
658-
const float AnalogShifter::CalEdgeOffset = 0.70;
658+
const float AnalogShifter::CalEdgeOffset = 0.60;
659659

660660
AnalogShifter::AnalogShifter(uint8_t pinX, uint8_t pinY, uint8_t pinRev, uint8_t detectPin)
661661
:
@@ -980,7 +980,7 @@ void AnalogShifter::serialCalibration(Stream& iface) {
980980
LogitechShifter::LogitechShifter(uint8_t pinX, uint8_t pinY, uint8_t pinRev, uint8_t detectPin)
981981
: AnalogShifter(pinX, pinY, pinRev, detectPin)
982982
{
983-
this->setCalibration({ 490, 440 }, { 253, 799 }, { 262, 86 }, { 460, 826 }, { 470, 76 }, { 664, 841 }, { 677, 77 }, 0.70, 0.50, 0.70);
983+
this->setCalibration({ 490, 440 }, { 253, 799 }, { 262, 86 }, { 460, 826 }, { 470, 76 }, { 664, 841 }, { 677, 77 });
984984
}
985985

986986
//#########################################################

0 commit comments

Comments
 (0)