Ps3 Controller Address

Ps3

  1. How To Check Ps3 Controller Bluetooth Address
  2. Ps3 Controller Address List
  3. Ps3 Controller Bluetooth Address

PS3 Controller is one of the most popular Gamepad controllers for Windows. Here we are going to share how to Connect PS3 Controller to PC running on Windows 10 latest version. Windows 10 is designed for Microsoft’s own Xbox One games console, however, there is another gaming controller available in the market. ScpToolkit is a free Windows Driver and XInput Wrapper for Sony DualShock 3/4 Controllers. Installation is fairly simple and straightforward, but does require a few things: Microsoft Windows Vista/7/8/8.1/10 x86 or amd64, Microsoft.NET Framework 4.5, Microsoft Visual C 2010 Redistributable Package, Microsoft Visual C 2013 Runtime, DirectX.

Want to configure manually the master address of your PS3 controller and have it automatically connect to your Raspberry Pi? It's really not that complicated and and takes only 5 minutes to configure! Here's a step-by-step guide, for macOS that is, but it will probably work for Linux as well if you take out the macOS specifics.

Prerequisites (macOS)

Have homebrew installed, if you don't have yet; follow the instructions at https://brew.sh/.

Install required libs & packages

Install libusb and libusb-compat using homebrew (or other package manager for other platforms).

Compiling sixpair binary

Next is compiling our sixpair executable, first download sixpair.c using following command.

Now we can compile sixpair.c to an executable using the following command.

If everything went well you should now have a sixpair executable.

Configuring Bluetooth on the Raspberry Pi

Now ssh into you Raspberry Pi (I'm using a Raspberry Pi W V1.2). Let's start by opening the bluetooth controller by running sudo bluetoothctl. This should have produced something like following output [NEW] Controller B8:27:EB:31:97:DA raspberrypi [default], my bluetooth MAC address is B8:27:EB:31:97:DA. Copy yours as we'll need it later.

Now you're in the bluetooth controller, run the following commands;

For now, just leave this window open as we'll need to connect and trust the PS3 controller in a bit.

Configuring bluetooth master address for the PS3 controller

Let's connect the PS3 controller to your Mac. Now we can pair the PS3 controller with the sixpair binary we compiled earlier and the bluetooth MAC address we retrieved in the previous step. To do this, run ./sixpair B8:27:EB:31:97:DA (substitute the MAC address with the one your Raspberry Pi outputted). This command will procude something similar as below.

How To Check Ps3 Controller Bluetooth Address

Connecting the PS3 controller to the Raspberry Pi

Disconnect the PS3 controller from your Mac and head back to the Raspberry Pi terminal. Power on the PS3 controller and you will see that it tries to connect to the Raspberry Pi in the terminal.

Copy the MAC address of the PS3 controller, in this case 00:1B:FB:2F:59:49. After the PS3 controller turned off prepare the following command in the terminal (as you will need to be quick) connect 00:1B:FB:2F:59:49. Next power on the PS3 controller again and once you see the line [NEW] Device 00:1B:FB:2F:59:49 00-1B-FB-2F-59-49 appearing in the terminal immediately execute the command. If all went well you should see something like the following.

Ps3 Controller Address List

Now we need to trust the MAC address by running trust 00:1B:FB:2F:59:49. Normally you should see the following output, and the PS3 controller will be connected to your Raspberry Pi.

You can now exit the bluetooth controller by running quit. To turn off the PS3 controller, hold the menu button for 10 seconds. Now when you turn on again the PS3 controller it will automatically connect to your Raspberry Pi.

Ps3 Controller Bluetooth Address

And that's about it! 😎🚀