Play games with PS3 Sixaxis controller

Set-up the controller

This is an excerpt of an earlier post.

SIXAXIS needed to be paired with N900. You need to know the BT address of the phone. Go to Settings -> Product information and find out your Bluetooth address: 34:7E:39:4A:37:XX.

Then you need to connect PS3 SIXAXIS to your PC with the USB cable.

Use the sixpair tool. You may compile it yourself

sudo apt-get install libusb-dev
wget http://www.pabr.org/sixlinux/sixpair.c
gcc sixpair.c -lusb -o sixpair

or just download my precompiled binary.
Next, write your N900 Bluetooth address into your controller:

sudo ./sixpair 34:7E:39:4A:37:XX   # your N900 BD address

Windows should download Linux LiveCD Linux LiveCD and use it to run sixpair.

Open Web Browser (MicroB) on your N900 and tap the green install arrow:

Usage

  1. Activate Bluetooth on N900
  2. Press PS button on controller – this will launch sixad via udev
  3. Wait for the BT icon to turn blue and sixaxis LEDs stop flashing
  4. Map keys in your console emulator settings by pressing buttons on controller.
    Left stick simulates mouse movement, right stick simulates scroll wheels, directional pad simulates arrow keys and buttons are mapped as on the following picture:
  5. HAVE FUN!
  6. www.pledgie.com !" />

TIPS

  • To disconnect SIXAXIS just turn off Bluetooth on N900
  • To re-pair controller with PS3, connect it with USB cable to PS3 and press PS button.
AttachmentSize
sixaxis-support.install197 bytes

COMMENTS

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options