Skip to content

Commit 7db12ed

Browse files
committed
Add calibration line to G27 shifter
This works fine on my shifter with the DrivingForce calibration, but is more accurate with its own.
1 parent a8090b3 commit 7db12ed

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/SimRacing.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,9 @@ LogitechShifterG27::LogitechShifterG27(
10741074
{
10751075
this->pinModesSet = false;
10761076
this->buttonStates = this->previousButtons = 0x0000; // zero all button data
1077+
1078+
// using the calibration from my G25 shifter, which is probably closer than the Driving Force
1079+
this->setCalibration({ 508, 435 }, { 310, 843 }, { 303, 8 }, { 516, 827 }, { 540, 14 }, { 713, 846 }, { 704, 17 });
10771080
}
10781081

10791082
void LogitechShifterG27::cacheButtons(uint16_t newStates) {

0 commit comments

Comments
 (0)