Steam Deck natively recognizes the PS3 controller. Simply plug it in via USB, wait for Steam OS to recognize it, then unplug USB cable and it will work over Bluetooth without needing
How to Fix It When Your PS3 Controller Won't Connect
USB Adapter 2 for DualShock 3 PS3 on Android macOS MD mini PS Classic 8BitDo
Guide to Fixing Common PS3 Controller issues (Random Button Pushes,Not Syncing,Replacing Battery) - YouTube
How to fix a PS3 controller that moves by itself - Quora
Quick PS3 controller FIX | Buttons not working properly - YouTube
Ken Umemoto's vReality: PlayStation Dualshock 3 L3 Button Fix
PS3] HOW TO FIX PS3 CONTROLLER 🎮 BUTTONS NOT WORKING [EASY FIX] 🛠- YouTube
Redditors I Need your help to repair a ps3 controller : r/PS3