What? I thought it's plug-and-play. I'm not even using Windows, but I simply plugged an XBox 360 controller into a USB port and it worked in Spiral Knights without any finangling. So far as I know, it should be the same for every one since Microsoft intended to establish their gamepad as a "standard" ubiquitous option for PC users too.
What have you tried that did not work? If you give some clues it might help some one figure out what you're doing wrong. I guess it's possible that Mac OS does not have such easy support, so are you using that? Are you playing SK from an installed client or through your browser? I'm using the installed client, and only know that version to have joystick support. Also, please forgive me if I'm insulting your intelligence, but did you read the manual? IIRC the "cordless" version ONLY communicates by radio so you need to buy a USB dongle to use it with anything lacking support for whatever protocol it uses. I know it's crazy unintuitive to have a USB connection for a human input device which is only used for power, but that's how both Microsoft and Sony set up their "cordless" gamepads. :( I don't remember whether it's an XBox-specific thing or something that new PCs might have built-in, since I personally don't mess with it, but it should be easy to look up if you have that version.
edit: It looks like the "wireless" controller uses a proprietary protocol, so our PCs probably don't have an interface. :( If you're using that controller, the dongle is the only way to go. In case that's what you need, it's called a "Microsoft Wireless Gaming Reciever" and the first price quote I saw was 20 USD which means a proper search should turn up that price or better.