loading

Is it possible to emulate the output of an xbox controller from a PC?

I was wondering whether there is a way to make a PC output xbox 360 signals through its usb port. I want to get a wiimote to work with an xbox 360, and since I can already control a PC using glovepie and a bluetooth adapter, wouldn't it be possible to take the wiimote input through the computer, convert it, and feed it directly to the xbox as if the PC were a controller?

By the way, I already tried posting this in the forums but got no replies: https://www.instructables.com/community/Xbox-360-PC-Output-Emulation/

sort by: active | newest | oldest
RelaxedSoup7 years ago
Yep, you sure can (albeit with a little bit of effort). I stumbled across this a while ago > Xbox 360 Gaming with a Wiimote. Good luck!
jasper28 (author)  RelaxedSoup7 years ago
Yeah, I already looked at XIM, but it seemed like the system was a little overcomplicated and could be done more simply by making a program that took mouse movements and button presses from the computer, mapped them to a virtual xbox 360 controller and sent them to one of the usb ports on the xbox.

So basically:
Wii --bluetooth--> PC --USB--> Xbox 360

Where the PC uses GlovePie (Link: http://carl.kenner.googlepages.com/glovepie_download ) to interpret Wiimote signals as movement of the mouse and a custom-made program takes the mouse movement and feeds it through a usb link to the xbox 360.

Anyone know how the xbox 360 controller interfaces with the console? Perhaps usb analyzer software (preferably free) could be used to analyze the data stream from a wired controller?
 It looks like XIM 2 might do exactly that, or be closer to it.  XIM 3 might be going a different direction, however.
 I'm very glad you asked this question, and posted this information.  I have been brainstorming on an "any controller for any console" project to help people with disabilities, and that step from the PC to the Xbox/PS3/Wii has been the hard part.

As you said, the signals from the controller can be pretty easily sent to the PC (via bluetooth or USB, depending on the controller), and remapped as desired through programs like GlovePie, Joy2Key, SwitchBlade, AutoHotKey, etc.

I have been working with an open source program called Eventghost, which can interface with any hardware or software on a PC.  In order to send the right signals out on a USB cable, I (or someone) would just have to write a "plug-in" for Eventghost.  It is made for Python, but I think it can handle other programming languages as well.

That leaves the hard part, figuring out what signals the console (Xbox 360 in this case) receives from the controller, so that we can mimick them.  As you said, some sort of analyzer might work, or one might try to reverse engineer the driver that lets you plug a wired Xbox 360 controller into a PC.  What makes me nervous is the mention on the XIM page of "the xbox 360s security which prohibits 3rd parties from creating alternate input devices."  If that becomes an issue, it might be better to just send standard HID signals from the PC, through a USB cable, to an XFPS 360, which would just see them as coming from a standard mouse/keyboard.

I hope that made sense...  And I hope I find the time to work on this some more.

 I have also been working on this.  I teach software testing and would like to automate XBOX signals.  I do program in Python so I could offer some help there.

I found a site that has information about the xbox controller signals.

euc.jp/periphs/xbox-controller.en.html

Hmmm I don't know of any software, I might poke around a bit and see what I turn up. But in the end you'll probably have to get your hands dirty and write some code, this may or may not be a problem.
jasper28 (author)  RelaxedSoup7 years ago
Yeah, I really wouldn't know how to do a project like this by myself (I'm a noob at coding). The real problem is that I have absolutely no clue how usb communication works. Could a PC actually directly communicate with an Xbox 360? Would I need to code my own driver if it was possible? The small amount of information that comes up on google is very confusing.