Post: [linux/bt/PS3]Use your keyboard and mouse for Black ops.
12-10-2010, 12:46 PM #1
izyehboy
Treasure hunter
(adsbygoogle = window.adsbygoogle || []).push({}); This tutorial requires basic knowledge of linux as opening a terminal and how to text-modify files.
This is a tutorial to experiment or for having fun or cheating :p Sorry for any typo's cause English isnt my main lang.

You need:

  • Ubuntu 10.04 Live CD.
  • Sixaxis controller that is already registerd with your PS3.
  • Bluetooth dongle which can have it's bdaddr changed. (follow the tutorial and find out of it can)


Notes:

  • Unplug any bluetooth dongle from your PC
  • Donot use the sixaxis when you use the bluetooth stick
  • This tutorial was written with a LIVE cd. Nothing will be stored on harddrive.


Discover the BDADDR of your sixaxis and your PS3:
Get your controller and plug it in the usb port of your PC.
Open a gnome-terminal (ALT+F2) and enter follow command's:
    sudo apt-get install libusb-dev

wget https://diyps3controller.googlecode.com/svn/trunk/sixutils/sixaddr.c

gcc -o sixaddr sixaddr.c -lusb

sudo ./sixaddr


This wil give you an output like:
    
Current Bluetooth master: XX:XX:XX:XX:XX:XX <- This is your ps3, write it down.
Current Bluetooth Device Address: YY:YY:YY:YY:YY:YY <- This is your controller, write it down.


Unplug the PS3 controller and it should power off.

Modify the BDADDR of the dongle:

Plug in your Bluetooth dongle in a usb port.

Enter following commands in the open terminal:
    sudo apt-get install libdbus-1-dev libglib2.0-dev

wget https://www.kernel.org/pub/linux/bluetooth/bluez-4.63.tar.gz

tar xzvf bluez-4.63.tar.gz

cd bluez-4.63

./configure --enable-test

make

cd test

./bdaddr


./bdaddr should give out something like this and you should write it down to restore, if needed:
    Manufacturer: Cambridge Silicon Radio (10)
Device Address: 01:02:03:04:05:06


Now we change the bluetooth address to the sixaxis address:
    sudo ./bdaddr ZZ:ZZ:ZZ:ZZ:ZZ:ZZ

Replace ZZ:ZZ:ZZ:ZZ:ZZ:ZZ with the address of your sixaxis controller found in step 1!

Unplug the Dongle and type in the terminal:
    ./bdaddr

If the output is:
    Manufacturer: Cambridge Silicon Radio (10) <- can differ
Device Address: ZZ:ZZ:ZZ:ZZ:ZZ:ZZ <- ps3 address

Then go to the next step.
If it didnt change do following:
    sudo ./bdaddr ZZ:ZZ:ZZ:ZZ:ZZ:ZZ <- ps3 address
sudo hciconfig hci0 reset

The "sudo hciconfig hci0 reset" gives your dongle a soft reset (which worked for me).
If the "sudo hciconfig hci0 reset" worked it means you have to change the address every time. Write a script for it if needed.

Build the emulator server and client:

In a terminal (ALT+F2):
    cd ~

sudo apt-get update

sudo apt-get install libbluetooth-dev libsdl1.2-dev subversion

svn checkout https://diyps3controller.googlecode.com/svn/trunk/sixaxis-emu/ diyps3controller-read-only

cd diyps3controller-read-only

make


Launch the server and client:
    sudo ./emu XX:XX:XX:XX:XX:XX

Replace XX:XX:XX:XX:XX:XX with the address of your PS3 found in step 1. Make sure your PS3 is powerd off when executing this command.
Ps3 should power on.

If you get this error:
emu: can't connect to control psm: Connection refused
Your dongle is not compatible.

If it is connected, go on with the tutorial.

Open a new terminal (ALT+F2):
    cd ~/diyps3controller-read-only

./emuclient


Now you can controll your ps3 with your keyboard and mouse.
To close the emulator, press escape.

Custom keymapping(close client first):

    cd ~/diyps3controller-read-only

gedit emuclient.c


Modify the controls. When done, save it and enter this command:

    make


You can also modify the macros_example.txt for macro's.
For example a macro that when you click left mouse, it first aim down sight, then shoot. Which is kinda a small aimbot for zombie's etc.





*Credits to the founders of this.
*Source: You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo