[haiku-development] Re: Joysticks in Haiku

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 18 Mar 2011 00:02:54 -0400

On Thu, Mar 17, 2011 at 6:45 AM, Sean Collins <smc.collins@xxxxxxxxxxx> wrote:
>
>       Unfortunately a great many USB devices are in fact nonstandard
> implementations.I have been trying to compile a list of offenders in terms
> of manufacturers but at some point Kludges are simply going to be needed to
> get a great many USB devices to function. A great number  of the USB class's
> are effected  but specifically USB audio,video,joysticks,tablets,musical
> equipment are all pretty high on the non standard list.

I agree that at some point some kludges maybe be needed. But I think
we could come up with something decent to handle these cases. In my
opinion this should not be code, but some sort of file format
describing how a descriptor needs to be transformed in a non-standard
device to look like a standard device (like the XBox controller
example.) Of course I imagine it won't always be so simple and code
will be required in some cases, but maybe in most cases just a file
could be used. The beauty of this is users could write these files
themselves (maybe with the help of some special utility programs)
instead of relying on Haiku developers.

While I'm fairly ignorant of USB, what Michael describes does seem
much better thant making custom drivers, and certainly "the Haiku
way." We don't have the time or resources to develop custom drivers
for everything, and should not waste any time if we don't need to,
which should be the case for most USB devices.

-- 
Regards,
Ryan

Other related posts: