Using Joystick on Gamepad

Could anyone tell me if I can somehow get the x and y axis movement on the thumb controllers on a usb gamepad into KM? The buttons work as expected but nothing for the joysticks/thumb controllers

No, Keyboard Maestro has no support for that. You would have to find some other tool that reads and outputs the proportional controllers.

Thanks Peter... It's a shame as it works with all the other buttons on the gamepad. Any suggestions for an app that would read the joystick values?

It's a little old, but Enjoy2 still seems to work on 10.15.5:
GitHub - fyhuang/enjoy2: Transform joystick input into keyboard and mouse events (OSX)