While setting up the MAME emulator on the Raspberry Pi 3 I decided to experiment with the PS3 controller trying to pair it with the RPi. I found a useful guide here:
http://holvin.blogspot.it/2013/11/how-to-setup-raspberry-pi-as-retro.html
At section 4 the author describes how to compile sixpair utility, test that everything is working and compile the QtSixA tool.
But there are some differences to be noted when working with the Raspberry Pi version 3. First, and most obvious, of all: the RPi 3 has already a Bluetooth device built in, so you don't have to plug a dongle in it, and it's compatible with the PS3 controller.
The sixpair utility succeeds in coupling with the controller. But to test that it's working I had to test the js1 joystick port, and not the js0 as stated in the guide; so the actual command is:
The QtSixA download link must be changed, because the one shown doesn't compile with the latest Debian. The new link is:
https://github.com/falkTX/qtsixa/
Then enter the sixad subdirectory and follow the instructions.
http://holvin.blogspot.it/2013/11/how-to-setup-raspberry-pi-as-retro.html
At section 4 the author describes how to compile sixpair utility, test that everything is working and compile the QtSixA tool.
But there are some differences to be noted when working with the Raspberry Pi version 3. First, and most obvious, of all: the RPi 3 has already a Bluetooth device built in, so you don't have to plug a dongle in it, and it's compatible with the PS3 controller.
1. Sixpair
jstest /dev/input/js1
2. QtSixA
https://github.com/falkTX/qtsixa/
Then enter the sixad subdirectory and follow the instructions.
Restore the pairing with the PS3
Note that from now on the "Bluetooth master" for your controller will be the RPi, so it won't work with your PS3 any more unless your pair it back. To do it you have to switch the PS3 on, connect the controller to the PS3 with its cable and then press the PS button on it. This will set the Bluetooth master as the PS3 on the controller, so that you don't need the cable any more.
Comments
Post a Comment