Things You'll Need
Instructions
Turn off your PS3 and unplug the controller from the port at the front of the unit.
Turn the controller over. You will notice five screws along the sides of the back of the controller. Use your Phillips-head screwdriver to remove them.
Remove the back half of the controller and set it aside. The PCB (motherboard) is in the front half of the controller.
Use your Phillips-head screwdriver to remove the screw in the middle of the PCB board. Remove the PCB board and set it aside. The rear of the buttons, including the joysticks, will now be visible.
Press firmly around the base of the joystick to pop it back into place. If the joystick itself is cracked or damaged beyond repair, remove it from the controller housing and replace it with a new joystick. These are available from a PlayStation parts retailer or electronics store.
Replace the PCB board and screw.
Replace the back half of the controller and screws.