Hello
I use the PS4BT library with the USB Host Shield to connect a PS4 controller to my Arduino Pro mini.
Normaly you need to decide in the code, if the usb receiver is in pairing mode or not (see code below).
Is it possible to switch the usb receiver to pairing mode while it is running?
// This will start an inquiry and then pair with the PS4 controller - you only have to do this once
// You will need to hold down the PS and Share button at the same time, the PS4 controller will then start to blink rapidly indicating that it is in pairing mode
//PS4BT PS4(&Btd, PAIR);
// After that you can simply create the instance like so and then press the PS button on the device
PS4BT PS4(&Btd);
Kind regards
Caprez95