Ps3xpad Portable
The xpad_devices.txt file is where you whitelist your specific controller. Plug your controller into a PC.
You can also adjust dead zones, vibration intensity, and LED colors for DS4 controllers. Save the file as ps3xpad.cfg (plain UTF-8 text) in the plugins folder and reboot. ps3xpad