A custom AVR core to make HID-capable Arduino boards emulate a PS4-compatible controller!
-
In the Arduino IDE, click
File>Preferences...(or doCtrl + ,) -
In the box that opens, paste this into a new line:
https://flamethr0wer.github.io/PS4Arduino-AVR/package_ps4arduino_index.json
and clickOK. -
Open the boards manager by clicking
Tools>Board>Boards Manager...or by doingCtrl + Shift + B(or by clicking the board icon on the left panel of the new IDE). -
Search for
PS4Arduinoand install the latest version of the package
Once the installation finishes, you're good to go! You can now use the PS4Arduino library.
IMPORTANT: Once you have flashed your Arduino with this core, you will need to press its RESET button as soon as you see "Uploading..." every time you want to upload code to it.
- Arduino Leonardo
- Arduino Leonardo ETH
- Arduino Micro
- Arduino Esplora
