So, in response to my previous blog post, I present to you XNARemote!

XNARemote main window

It basically turns your XBox 360 controller when used on a PC, into a Media Center remote control. It is pretty simple at this point, but it works! I thought that such a thing would be handy, especially when sitting on the couch on the opposite side of the room watching a movie on the computer.

There are a few things you need to note though – I haven’t tested it as much as I’d like, for example what happens when a controller turns off from inactivity. Also, don’t click the minimize/close buttons on the window – it doesn’t like that. Instead use the “Back” button on the controller or Alt+Tab to it and use Alt+F4 to exit. It also hijacks control of the mouse when it is being used.

The code behind it is basically making calls to the Win32 api and simulating mouse clicks and keyboard presses via PInvoke.

Anyway, feel free to download it here: click to download

The actual .exe is contained in the XNARemote\XNARemote\bin\x86\Debug folder. You will also need a decently recent version of DirectX as well as the XNA Runtime libraries (or something like that – available here). Anyway, have fun with it!