I recently started looking into the joystick modules that fail of so quickly these days and normally costs you a new controller, or the need to find a repair shop to get them replaced.
There are now 3 types of replacement.
Typical Potentiometer, which has a carbon ring and a little metal contact ring that makes contact and then adjusts the reading depending on where it is, giving you the movement we so desire. The problem is, with anything mechanical, there is wear and then you get drift.
There are 2 new kids on the block one newer and more refined than the other.
Hall effect and TMR(Tunneling Magnetoresistance).
Both use magnetic fields to adjust sensor readings with NO PHYSICAL CONTACT! Meaning no direct wear... and no drift over time. In theory anyway, but the beauty of these is that they can be infinitely recalibrated so in theory if the stick becomes off center you can just recenter it and carry on.
Hall effect IIRC can use a similar amount of power to POT types, but they can interfere with XB controller triggers leading to the need for a clicky mod. TMRs.... however are meant to be much more accurate and sensitive, use much less power and do not interfere with anything. It has been noted that they increase battery life of controllers with these little adjustments too. Again, can be recalibrated repeatedly.
So if you have a drifting controller, it could be worth having it properly repaired and never seeing the issue again.
Here's a random explanation of the technologies:
TMR vs Hall Effect Joysticks Explained
I've recently ordered some new soldering gear and some TMRs for my failing XB controller, so I will do a little show and tell on that and the calibration of them in due time. There are plenty of shops offering these repairs and upgrades, so it could be worth investing in these for the longevity of your pads.
Controller modules tech update!
Blog/Article
1