Skip to content

Commit

Permalink
Fixed smash stick c-up up b angles
Browse files Browse the repository at this point in the history
  • Loading branch information
avahe-kellenberger committed Apr 3, 2024
1 parent 089f45c commit 83de0aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modes/UltimateR4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ void UltimateR4::UpdateAnalogOutputs(InputState &inputs, OutputState &outputs) {
outputs.leftStickY = ANALOG_STICK_NEUTRAL + (directions.y * 28);
}

outputs.rightStickX = ANALOG_STICK_NEUTRAL;
outputs.rightStickY = ANALOG_STICK_NEUTRAL;

// Angled Ftilts
if (inputs.a) {
outputs.leftStickX = ANALOG_STICK_NEUTRAL + (directions.x * 36);
Expand Down Expand Up @@ -167,6 +170,9 @@ void UltimateR4::UpdateAnalogOutputs(InputState &inputs, OutputState &outputs) {
outputs.leftStickY = ANALOG_STICK_NEUTRAL + (directions.y * 53);
}

outputs.rightStickX = ANALOG_STICK_NEUTRAL;
outputs.rightStickY = ANALOG_STICK_NEUTRAL;

// MY Pivot Uptilt/Dtilt
if (inputs.a) {
outputs.leftStickX = ANALOG_STICK_NEUTRAL + (directions.x * 50);
Expand Down

0 comments on commit 83de0aa

Please sign in to comment.