Using ATmega 168 to build a game controller

So... yeah.

I'm basically trying to build that, though I'm still not sure how to solve the probably biggest problem of all - making the chip appear as a game controller for windows.

I've snooped around the forums for some answers a bit, but haven't really found anything conclusive for my situation.

I suppose UnoJoy is out, since my chip is different.

If it changes anything, I intend my "game "controller"" to have 4 or 5 buttons and 3 analog axis given by two accelerometers.

So, is there any program or bootloader that could make this work or should I just forget about the whole thing and go eat waffles or something?

V-USB is a library to implement USB in software on an ATmega processor. On their site they provide several example projects in which the V-USB library is used to implement Human Interface Devices (keyboards and mice): http://www.obdev.at/products/vusb/prjhid.html

I would start with one of those projects.

I'm basically trying to build that

What?

making the chip appear as a game controller for windows.

What chip? as what game controller?

I've snooped around the forums for some answers a bit, but haven't really found anything conclusive for my situation.

What did you look for?

If it changes anything, I intend my "game "controller"" to have 4 or 5 buttons and 3 analog axis given by two accelerometers.

Yes, it will.

should I just forget about the whole thing and go eat waffles or something?

Whatever floats your boat.

Luxor: I'm basically trying to build that, though I'm still not sure how to solve the probably biggest problem of all - making the chip appear as a game controller for windows.

I've read Arduino Leonardo has built in USB that allows to be recogniced by pc as mouse and keyboard. It may work as game controller, look for some projects on the web.

Also look at this http://electronics.stackexchange.com/questions/48357/easiest-way-to-create-a-usb-hid-device.