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 joystick is soldered to the controller board. You'll need a soldering station in order to complete this repair.