Skip to content

Commit 274bf91

Browse files
committed
Reword G25 shifter sequential swap comment
1 parent 167d1c6 commit 274bf91

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/SimRacing.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1528,17 +1528,16 @@ void LogitechShifterG25::setCalibrationSequential(int neutral, int up, int down,
15281528

15291529
// if up/down calibration points are reversed, swap them
15301530
//
1531-
// in v2 of the library, pushing the shifter was 'shift up' and pulling the
1532-
// shifter was 'shift down'
1531+
// in the original public release, pushing the shifter was 'shift up'
1532+
// and pulling the shifter was 'shift down'
15331533
//
1534-
// in v3 of the library this was fixed, so that pushing the shifter is
1535-
// 'shift down' and pulling the shifter is 'shift up', matching the
1536-
// markings on the shifter itself (or mine, at least). this also matches
1537-
// the behavior of a sequential shift lever in a real rally car
1534+
// this bug was eventually fixed, so that now pushing the shifter is
1535+
// 'shift down' and pulling the shifter is 'shift up'. This matches the
1536+
// markings on the shifter itself (or mine, at least), and mirrors the
1537+
// behavior of a sequential shift lever in a real rally car.
15381538
//
15391539
// by swapping the calibration points here, the function maintains
1540-
// compatibility with calibration lines written for both version of
1541-
// the library
1540+
// compatibility with calibration lines written for both versions
15421541
if(up > down) {
15431542
int temp = up;
15441543
up = down; // dogs and cats living together, mass hysteria

0 commit comments

Comments
 (0)