USB HID Joystick

lostre86:
Nikarus..

Before post this topic i found a looot of stuff for HID joystick but then i realised that i dont know basic things.

I already tried the UnoJoy project, (13 buttons 2 axis) and it worked for me but ONLY for the FIRST time that i connect duino in a USB port,then stopped working! i tried another port, it worked and then stop again! dont know why!

Sadly I don't know either. Before yesterday I'd never looked up unojoy. So sorry can't help jsut yet. This weekend when I get soem time to sit at my workbench at home and tinker I'll try to be more helpful.

i also found a guide to extend Unojoy to 30 buttons by modifing USB descriptors, reports etc but i dont know how to make my final custom firmware to flash the bootloader.

Could you link the guide? I searched a sec and found this thing http://wiki.unojoy.googlecode.com/hg/ExtendingUnoJoy.wiki

i use arduino IDE but i think that this software doesnt create .hex files. Any suggestions ?

On a side note, I've always had a problem with my megas, that if I unplug them while they're trying to communicate with the computer (has been especially noticeable when I try to program 1 a couple times in a row while tweaking my program, and then opening the comp port each time) And I'd need to shut the arduino IDE off all the way. Don't really think this is what your problem would be though.

Don't know, sorry I can't be more help. I know I'll have some free time this weekend to assault some of my projects that have been building up, and will be able to spend some time peeking at unojoy, but I might be able to find some time tonight if I get out of work early.