Team 1967 created a Janky Joystick Investigator that puts button and axis values on SmartDashboard. That way when you click a button or move a thumbstick you will be able to figure out which button number/axis that physical button or axis it corresponds to. Our team has a GitHub repository.
Here is the link to the Investigator:
https://github.com/bobwolff68/FRCTea...ckInvestigator
And here is the link to our full repository:
https://github.com/bobwolff68/FRCTeam1967
Hope this helps!
