Before you begin
Here is a DualShock 4 controller that had a drift to both analog joysticks. Fairly straight forward replacement of the joysticks resolved the issue. The joysticks are soldered to the controller board. You'll need a soldering station to complete this repair.