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 Connect PS3 Controller to Windows 10 PC with DsHidMini Driver - YouTube
Better DS3 - Download
How to install the PS3 controller in Windows | Drivers.com