If you want a wired controller it's simply a matter of downloading the drivers from microsoft. (Available here: Microsoft: Download Gaming Software) For a wireless controller though, you have to buy a usb receiver like this: Microsoft Xbox 360 receiver