This is not real advice, and you should not try it yourself.
Step 1: Get mad at your controller and throw it about three feet to your left
Step 2: joystick is now snapped in half.
Step 3: Remove controller faceplate (please use plastic wedges that are made for this and not a knife or other piece of sharp metal that could damage the controller’s internals(like I did), there’s some sensitive stuff around where you have to pry to get it off.)
Step 4: cut the prong off of a plastic tooth comb/brush and file it down. (I have like a ten year old conair brush I used for this and it was already about the right size.
Step 5: the plastic stick that connects the joystick to the potentiometer is hollow, depending on where exactly the stick snapped, you should be able to thread the plastic piece into the hole inside it, allowing you to reattach the joystick. I had to shorten the plastic piece to the right length as well, as this hole is very small.
Step 6: Re-attach the faceplate
Step 7: Done! Your stick drift isn’t fixed, but your joystick can spin around now!
This is obviously not real advice, but it is a story of how my night last night went.