Ps4 controller won't connect again to PS3 with cable or wireless

My PS4 controllers used to connect to my PS3 normally, however they will no longer connect via cable or wireless. I have tried resetting the controllers, and using different USB cables. I don't know what's happening.
I also don't have PS3 controllers or a keyboard, and the TV controller version to move it won't work. Does anyone know a solution to this?


Solution 1:

Have you tried resetting the controller using a safety pin/needle Have you tried resetting the controller by inserting a safety pin/needle in the hole shown in the image(it's on the back of the controller) to click a button that is at the bottom of the hole. after resetting try to connect again.
from https://ccmindtouch.mindtouch.us/Archive/My_System/PS4/Troubleshooting/DualShock_4_Troubleshooting