Describe the bug
In the simulation GUI, when using a Nintendo Switch Pro controller (including 3rd party Switch Pro controllers) over USB, the robot code cannot read the right stick axes when the gamepad mapping is enabled. This is likely because only 4 axes are available on the Switch Pro controller instead of the 6 that are required by XboxController.
To Reproduce
Steps to reproduce the behavior:
- Open simulation GUI
- Connect Switch Pro controller to Joystick[0]
- Tick "Map gamepad"
Expected behavior
The axes for the right thumb stick can be read.
Screenshots
Desktop (please complete the following information):
- OS: Fedora Linux 42
- Project Information:
robotpy 2025.2.1