Using PS3 Sixaxis Controller as a Joystick via Bluetooth
From LinuxMCE
Revision as of 04:21, 5 September 2008 by IOU (Talk | contribs) (New page: It is VERY easy to set up your PS3 Controller to act as a bluetooth joystick for changing channels in MythTV Here is a short howto: USB Pairing #Connect the controller to a USB port. #R...)
It is VERY easy to set up your PS3 Controller to act as a bluetooth joystick for changing channels in MythTV
Here is a short howto:
USB Pairing
- Connect the controller to a USB port.
- Run sixpair
- Download <a href="https://help.ubuntu.com/community/Sixaxis?action=AttachFile&do=get&target=sixpair.c">sixpair.c</a> (save to a directory such as /home/linuxmce)
- Compile sixpair using
gcc -o sixpair sixpair.c -lusb
- Run sixpair
sudo ./sixpair
sixpair will echo
Current Bluetooth master: xx:xx:xx:xx:xx:xx Setting master bd_addr to xx:xx:xx:xx:xx:xx
- Disconnect the USB cable
Bluetooth Monitoring
- Stop the BlueTooth service
sudo /etc/init.d/bluetooth stop
- Make sure all hcid processes are stopped
sudo killall hcid
- Run HIDP daemon in terminal
hidd --server --nocheck -n
- Press the PS button on the Sixaxis hidd should echo
hidd[pid]: Bluetooth HID daemon hidd[pid]: New HID device 00:19:C1:xx:xx:xx (Sony Computer Entertainment Wireless Controller)
- Press Ctrl+C to end the process
- Start the BlueTooth service
$sudo /etc/init.d/bluetooth start