[haiku-development] Re: USB "Joysticks"?

  • From: "Michael Lotz" <mmlr@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 24 May 2011 00:26:43 +0200


> I have a strong need for a USB joystick facility, but I'm not getting
> very far in my initial exploration.  (I use a joystick (analog) for 
> driving
> things like pitch-bend MIDI on BeOS, but my Haiku box doesn't even 
> have
> a GamePort.)  I'm initially trying to connect a Sidewinder Strategic
> Commander (which behaves as a multi-axis JS under Linux), though 
> eventually
> I hope to just buy and plug in a GamePort USB adapter.
> So what's the state of this (and HID in general)?  When I plug in the
> Commander, it appears in/dev/bus/usb, but there's nothing to handle 
> it
> by default. ...*Except* the USB-Mouse handler which seems to start up
> automatically, screwing everything up!

That was by design back then.

In any case, please see ticket #7354 which is about adding tablet and 
gamepad/joystick support to usb_hid via new *Device classes. At least 
parts of that are usable. It might need extension to work for your 

> I thought that initially I might try to revive the "usb_joy" code

Please don't :-)


Other related posts: