So I made this script for my xbox controller that when i press r1 or l1 that i get keyboard presses output (2 Keys) with different stages. Now I want to change the script so when pressing the back paddles of a steering wheel (g29) that those are the ones registered instead of l1 and r1 on the controller. i dont know the key names and my friend tried it with some but it said that no gamepad was found.
Here the script: https://paste.pythondiscord.com/IIVQ