If you want to use a PlayStation 4 controller with a Raspberry Pi, there are a few things you need to do first. First, connect the PS4 controller’s USB cable to the Raspberry Pi. Then, open up Raspbian and type the following command into the terminal: sudo apt-get install libusb-1.0-0 Next, download the drivers for your PS4 controller from Sony’s website. Once you have downloaded the drivers, extract them to a folder on your computer. Next, open up Raspbian again and type the following command into the terminal: cd ~/Downloads/ Finally, install the drivers by typing the following command into the terminal: sudo ./install_ps4_controller.sh ..