Go Down

Topic: Tutorial - How to change firmware on 8u2 (Read 116 times) previous topic - next topic

hughperman

Thanks so much for this! Got an Uno for the purpose of making a funky arduino accelerometerfmouse and was fretting about the lack of info on how to go about the USB HID part til I found this post. Can't wait to get choppin with it!

Blue_Boy

#16
Dec 03, 2010, 02:11 pm Last Edit: Dec 03, 2010, 02:34 pm by Blue_Boy Reason: 1
I've been lurking around in this thread for some time now.
I think I've wrapped my head around the general idea.
How hard would it be to add another 2 axes to the example joystick?
(axes A,B,C,D instead of only X-Y)

As far as I can see, it requires some tinkering in the Descriptors.c file.
Could any other "HID Usages" like Vx or Vbrx serve as my extra axes?

mowcius

Quote
How hard would it be to add another 2 axes to the example joystick?

Surely you only have X,Y and Z?

Blue_Boy

A Playstation Dualshock styled controller has 2 thumbsticks.
So four usable axes.
I would just like to pipe 4 different sensor values into Unity using no intermediate software whatsoever, so that's why.

mowcius

Quote
A Playstation Dualshock styled controller has 2 thumbsticks.
So four usable axes.
I would just like to pipe 4 different sensor values into Unity using no intermediate software whatsoever, so that's why.

Ahh I see.

Go Up