Sixpair Mac

Note: This tutorial assumes that you have completed the previous tutorials: ROS tutorials.
Sixpair

Hello fellow Android junkies and Mac users, I've created a GUI for the Sixaxis Pair Tool script for the Mac. (If you can root your phone you probably know how to use the terminal too but who am I to judge? ) Anywho, I made it using basic AppleScript and a slightly modified version of Dancing Pixel Studio's C script. It's worked flawlessly so far. Download and start the SixPair tool. Then, connect your iOS device and the PS3 controller using USB cables to your Mac. Now, the SixPair tool will show a pairing button. Press the button and you're done. Plug your PS3 controller into your Mac via the USB cable. In Terminal again, type './sixpair 1A:2B:3C:4D:5E:6F' where '1A:2B:3C:4D:5E:6F' is the 'Local Bluetooth Address' that the Sixaxis controller app gives you. Unplug the PS3 controller, start the Sixaxis controller app, and then press the home button on your PS3 controller.

Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.
Description: This tutorial is an introduction to using the PS3 DualShock 3 Joystick connected via bluetooth to a desktop computer. After reading it, you should be able to bring up the ps3joy node and display the data coming from the joystick.
Keywords: PS3, joystick, driver
Tutorial Level: BEGINNER
Next Tutorial:Writing a teleop node

Contents

  1. Pairing

Start by installing the dependencies and compiling the driver:

If this joystick has already been paired to this dongle you can skip this section and go directly to 'Connecting to the Joystick Via Bluetooth'. This will usually be the case when you are working on the PR2.

For Computers with More than One USB Port

Plug the USB bluetooth dongle into your computer. Then, plug the PS3 bluetooth joystick into the computer using a USB cable.

Load the bluetooth dongle's MAC address into the PS3 joystick using:

You will see something similar to:

Press Ctrl-D now so that you do not continue to run as root.

If you get something like the following:

Sixpair

Run the command:

and then retry:

For Computers with One USB Port

Plug the USB bluetooth dongle into the computer and read the MAC address from the dongle:

You will see something like this:

(In the above example, the MAC address is: 00:22:B0:D0:5A:09)

Now unplug the bluetooth dongle and plug the PS3 joystick into the computer using a USB cable. Replace the joystick's MAC address using the following command:

You will see something like this:

Press Ctrl-D now so that you do not continue to run as root.

Sixpair Mac Download

Unplug the joystick from the computer and make sure that the USB bluetooth dongle is plugged in. Now, start the program to create the connection between the bluetooth dongle and the joystick:

You will see:

Sixpair Mac Download

Press the PS button in the middle of the joystick and the connection will be activated.

You will see:

If you do not see the above message and you are running Karmic or Lucid versions of Ubuntu you may need to follow these instructions.

In a new terminal, confirm that the joystick is sending data to your computer. You can test this with jstest:

Sixpair Mac

(if this does not work, try replacing ? with the number of your joystick --try tab completing, i.e. /dev/input/js0 )

You will see output that looks like this and changes as you press buttons and move the joysticks:

If you ever need to unpair the joystick, you can simply press the pairing button for 10 seconds. The lights on the joystick should stop blinking.

The Sixaxis Pair Tool is a Windows application for creating a connection between your PlayStation3 DualShock or Sixaxis controller and your mobile phone or tablet PC running Android.

The program acts as an intermediary which then makes it possible to play mobile phone games with your PS3 controller. If you phone is rooted, you will also probably want the app called 'Sixaxis Controller'.

If you want to use a Sixaxis or DualShock controller on a mobile device, then this intermediary SixaxisPairTool can help. You handset must be rooted and it may not work properly on some HTC and Samsung phones.

Download

Sixpair For Mac

SixaxisPairTool 0.3.1 on 32-bit and 64-bit PCs

This download is licensed as freeware for the Windows (32-bit and 64-bit) operating system on a laptop or desktop PC from computer utilities without restrictions. SixaxisPairTool 0.3.1 is available to all software users as a free download for Windows.

Filed under:
  1. SixaxisPairTool Download
  2. Freeware Computer Utilities
  3. Controller Pairing Software