Imported Bluetooth and other stuff from PYD-X, added Sixaxis support