Gamepad driver

Hi all,

So I'm not new to programming, but I am new to hardware programming, I'm just wondering if someone could push me in the right direction as a couple of google's haven't been much help.

Basically, I'd like to create a game controller with the arduino, simple to begin with, just have a few digital buttons. It will plug into a windows (only) PC via usb, and I'd like windows to recognize it as a gamepad (so I can go into control panel, configure it as one, etc). I'm assuming the arduino will need to host some sort of driver to tell windows what it is and what buttons it has? How would I go about writing one of these?

Thanks for any help :slight_smile:

It has all been done for you!, Unojoy has around 12 buttons, 1 pov and 4 axis'. The help is a bit sketchy but I've made a 128 button & 48 * 8 analogue with the code.

I'm presuming you are using a UNO?