XBox 360 Controller on a Media Center Edition PC using XInput

ZITAT
Introduction

this is a real quick article about writing a MediaCenter AddIn to control a Media Center Edition (MCE) PC with a Wired XBox 360 Controller connected to the MCE PC (using the new DirectX XInput API). been kicking myself the last couple days for not pre-ordering an XBox 360 console. instead of coming back empty handed, i ended up buying a Wired XBox 360 Controller for my PC. when i hooked up the controller, i immediately started trying to use it to control the OS and different applications ... but nothing happened. also assumed that it would be able to control Media Center Edition (Update Rollup 2), since it can be used to control MCE when the XBox console is being used as an Extender ... but that didn't work. so i decided to write a MediaCenter AddIn that would make it controllable with the XBox 360 controller. this provides a seamless experience whether the controller is connected to an XBox 360 console being used as an extender or directly to an MCE PC. the side benefit being that the code provides a pInvoke wrapper for the XInput API.





LINK !