[haiku-development] Re: Adding BGameController to the Game kit.

  • From: salierix <salierix@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 9 Mar 2008 04:26:33 -0500

Damn, for some reason I was told that BeOS didn't support usb joysticks... I
should probably try to get BJoystick working then.

Later,
~salierix

On Sun, Mar 9, 2008 at 12:34 AM, Stefano Ceccherini <
stefano.ceccherini@xxxxxxxxx> wrote:

> 2008/3/9, salierix <salierix@xxxxxxxxx>:
> >
> > According to the BeBook, the BJoystick class in the Device kit only
> concerns
> > itself with the increasingly obsolete gameport devices. I suggest that a
> > BGameController class should be added to the Game kit, that will provide
> an
> > API for both usb and gameport controllers. The BJoystick class could be
> > implemented using BGameController, depreciated in the documentation and
> then
> > removed entirely in Haiku R2.
>
> BJoystick is only an interface to the joystick driver, no matter which
> peripheral is supported by the driver. IOW: we can have a gameport
> driver and an usb joystick driver both used by BJoystick. Sort of what
> happens with the MouseDeviceAddon and the ps2 and usb mouse drivers.
>
>
> > Did Zeta ever support usb game controllers?
>
> Not just Zeta, also beos through the usb joystick driver on bebits.
>
>

Other related posts: