Skip to content

Commit

Permalink
Fixed L3/R3 swap
Browse files Browse the repository at this point in the history
  • Loading branch information
avahe-kellenberger committed Feb 13, 2024
1 parent 15228fc commit d2dc059
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/modes/FgcMode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,13 @@ void FgcMode::UpdateDigitalOutputs(InputState &inputs, OutputState &outputs) {
// Right hand top row
outputs.x = inputs.r;
outputs.y = inputs.y;
outputs.leftStickClick = inputs.lightshield;
outputs.rightStickClick = inputs.midshield;
outputs.leftStickClick = inputs.midshield;
outputs.rightStickClick = inputs.lightshield;
}

void FgcMode::UpdateAnalogOutputs(InputState &inputs, OutputState &outputs) {
outputs.leftStickX = 128;
outputs.leftStickY = 128;
outputs.rightStickX = 128;
outputs.rightStickY = 128;
// outputs.triggerLAnalog = outputs.triggerLDigital ? 255 : 0;
// outputs.triggerRAnalog = outputs.triggerRDigital ? 255 : 0;
}

0 comments on commit d2dc059

Please sign in to comment.