Using an Xbox controller for jog control and manual slab flattening

Hey everyone. I finished my V4 back in february and have had to take a break from it due to work requirements. I am getting closer and closer to being able to start using my CNC again and wanted to move the control board so that it doesnt move with the gantry and i can permanently wire in my laptop for control (a discussion for another time if i manage to pull it off). My real question is has anyone connected an Xbox or PS5 controller to either the control board or their controlling PC/Laptop for manual slab leveling or jog controls? If so what would the difficulty be (I am an electrician but not a programmer) and did you find it to be worth it?

I use another control board and have a controller connected, but it’s not good for flattening etc.

As a proof of concept i rigged up a switch controller and a wii controller as pendants. I’m using an irregular controller setup, so it would not be applicable to a jackpot setup. It really only got used for jogging and setup. Having a shop pc hooked up via wifi was easier. With freazycam on the pc, i just made a quick gcode file from a pocketing a square for surfacing, then uploaded and ran it. It is rare that i surface the same size workpiece. You might surface the spoil board multiple times but i would just generate gcode for it rather than jog through it.