Update:
I've made a successful SPI bus between a Raspberry PI host and the Arduino that's emulating the xbox controller. The use of SPI has improved speeds and accuracy greatly.
There are now two separate github projects, one for the HID to SPI part on the raspberry and one for the actual XPAD emulation.
Coming up:
Latency measurements for those that are still skeptical.
This is a very interesting project. Any plans on adding support Xbox One controllers? Also, I assume you would need one Pi per controller port if you want to use multiple controllers, is that right? What are the requirements for Pi devices / which ones work?
Keep up the great work!
This is great!
I too have had this idea a while ago but never started working on it. I ordered what seems to be the same hardware as you did but by the time I received it, I had already moved back to XBlast OS. Arduino Leonardo (Atmega32u4) + USB host shield.
I'll follow this one close. For now, I cannot really offer my help, my plate is full.
Hardware requirements
* ANY SPI-capable single board computer running linux, so all Raspberry Pi models and probably a whole bunch of OrangePi / BananaPi and the like. The only OS requirements is that the SPI bus is enabled in the kernel.
* ANY ATMega32U4-based Arduino (Yes the $5 clones work)
* Five jumper cables to connect the two boards.
Controller support
The linux computer acts as a host so this will support any controller you can plug in to a modern day linux kernel. I've tested with an OG xbox S controller, 360 controller, PS4 controller and chinese shitty SNES controller.
Interesting, how did you connect to the Xbox, directly to the board or did you use a USB to controller connector cable?
The arduino has a microusb port, I made a USB-to-Xbox cable from an old broken controller.
Hmm would be interesting to do an internal mod with a 360 controller. Any update on the latency
It supports wireless xbox controller dongles, so you can probably hide it well.
No hard data on the latency yet, still ironing out corner cases in the code.
Just ordered the necessary components and eager to get this working. Do you have any updates ripdajacker?
Racing wheel Fanatec XBOX 360 compatible? Arcade stick? So nice THX very much for this project.
Dunno, don't have a racing wheel, but the compatibility boils down to: If you can use it on linux, you can use it here.
I just got a kid so my spare time took a significant hit. I'm still having some sync issues with the devices, usually happens after 10-15 minutes of playing.
Wow this is incredible! So what all will we need to have to get this working in the future? Just an Xbox 360 wireless PC dongle and controller? I happen to have a cheap Chinese one as well as an official Microsoft branded adapter, so if you need testing later on let me know. Will the arduino or Pi also have to be used as well since I reckon this has to emulate the hardware and then translate the 360 signals into the correct commands. Guess there is no real way to just make a driver for the Xbox is there?
News please....input lag....I am so impatient....