archived project
A guide to driving a Sphero BB-8 with an Xbox 360 controller from a Raspberry Pi 2 or 3 over Bluetooth LE, using open-source Python code.

After seeing this idea on YouTube, I got a Sphero BB-8 running from a Raspberry Pi with an Xbox 360 controller. It worked on a Pi 2 with a Bluetooth LE dongle and on a Pi 3 with its built-in Bluetooth.
The code is Joseph Kim's SpheroBB8-python, which builds on work by davinellulinvega and ali1234.