Hello!

I decided to get the force feedback on my Microsoft Sidewinder FF 2 joystick
working. I'm not there yet, but here's some info and a patch.

The joystick is a PID device (or at least it claims to be), so I guess
somebodyd did implement that after all. 

The patch adds the Usages from the PID page to the usb.ids file along
with the product-id of the joystick. 

It also adds prettyprinting of Unit and Unit Exponent Global Items to 
lsusb.c, because they're really annoying to calculate manually. It
should work for all cases but I haven't tested complex units like m^2
or meters/second because none of my devices report such units.

Also (And this bit I'm not sure about) I added a few missing Collection
parts. They didn't make any difference on my devices, but it seems right
that they should be there. 

There's also some small fixes, a typo, a double initialization, some
errors that went to stdout instead of stderr, and some (debatable)
string changes to make errors more visible.

Thankful for any comments,

/August.
-- 
Wrong on most accounts.  const Foo *foo; and Foo const *foo; mean the same: foo
being a pointer to const Foo.  const Foo const *foo; would mean the same but is
illegal (double const).  You are confusing this with Foo * const foo; and const
Foo * const foo; respectively. -David Kastrup, comp.os.linux.development.system

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to