I'm trying to get a 3rd party PS4 controller to connect to my arduino
over bluetooth with the USB host shield and a bluetooth dongle.
When I run the example code from the library with the hardware
configured for bluetooth (bluetooth dongle plugged in and trying to
pair with the share+ps4 button) it won't connect. When I connect it to
the usb port with a microusb port, I believe I am able to connect to
the controller, but nothing prints in the serial monitor when I push
any buttons. I ran the qc test code in the library and that came back
with the usb shield working as intended.
I added this line of code to see if the controller was even connecting over usb.
if (PS4.connected()) {
Serial.print(F("r\nConnected"));
}
and it does indeed print connected if I plug it up and stops printing
if I unplug it. I just don't ever get any other of the example commands
to print if I press any buttons.
I would really appreciate help!