Skip to content

Conversation

@dzid26
Copy link
Contributor

@dzid26 dzid26 commented Jan 1, 2026

Description

While adding Stadia controller, I noticed the accel/brake axes were swapped and the comment # flip left trigger to negative accel was actually corresponding to the right trigger.

So I:

  • fixed swapped accel axes - one negation less for long axis
  • added Stadia axes mapping
  • set initial range setting to -255 if there is "flipped" axis, aka independent brake axis, i.e gameads

Verification

Tested with Stadia in the car. Now thanks to the negative initial I don't have to fully press brake, before gas starts from zero.


(Tbh, the axes range learning seems detrimental for gamepads - kinda dangerous if initialized incorrectly. But at least by setting the correct range for the brake axis from the start, the issue goes away.)

@github-actions github-actions bot added the tools label Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant