Skip to content

Commit b46ecde

Browse files
committed
Add DE-9 pin numbers to shifter examples
1 parent 0791db7 commit b46ecde

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

examples/Shifter/LogitechShifter/LogitechShifter_Joystick/LogitechShifter_Joystick.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ const bool SendAnalogAxis = false;
4141
// games, but can be useful for custom controller purposes.
4242
const bool SendReverseRaw = false;
4343

44-
const int Pin_ShifterX = A0;
45-
const int Pin_ShifterY = A2;
46-
const int Pin_ShifterRev = 2;
44+
const int Pin_ShifterX = A0; // DE-9 pin 4
45+
const int Pin_ShifterY = A2; // DE-9 pin 8
46+
const int Pin_ShifterRev = 2; // DE-9 pin 2
4747

4848
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);
4949
//SimRacing::LogitechShifter shifter(SHIFTER_SHIELD_V1_PINS);

examples/Shifter/LogitechShifter/LogitechShifter_Print/LogitechShifter_Print.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828

2929
#include <SimRacing.h>
3030

31-
const int Pin_ShifterX = A0;
32-
const int Pin_ShifterY = A2;
33-
const int Pin_ShifterRev = 2;
31+
const int Pin_ShifterX = A0; // DE-9 pin 4
32+
const int Pin_ShifterY = A2; // DE-9 pin 8
33+
const int Pin_ShifterRev = 2; // DE-9 pin 2
3434

3535
SimRacing::LogitechShifter shifter(Pin_ShifterX, Pin_ShifterY, Pin_ShifterRev);
3636
//SimRacing::LogitechShifter shifter(SHIFTER_SHIELD_V1_PINS);

0 commit comments

Comments
 (0)