[haiku-development] Re: usb_joy
- From: Fredrik Modéen <fredrik@xxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Sat, 31 May 2008 08:07:40 +0200 (CEST)
>> If we do this what do we have? what can the usb_hid be used for? Do I
>> still need to do a Input Device add-on if I would like to use the
>> joystick
>> as a mouse?
>
> Well, usb_hid does not correspond to one kind of device. In case of
> KeyboardDevice it is a keyboard, in case of MouseDevice it is a mouse
> and gets published and used as such. The ioctls received by the
> input_server are device type specific. In case of mice there is MS_READ
> in case of keyboards it is KB_READ and in case of joysticks it seems to
> be B_JOYSTICK_* stuff. I suppose this isn't really setup to be handled
> by input_server but a specialized add-on and BJoystick? I really don't
> know as I don't know the input_server side. In any case the joystick
> shouldn't be a used as a mouse IMHO and should not publish itself as
> such to the system. If we implement joystick support through
> input_server then as you mentioned a corresponding add-on could however
> convert that joystick data to mouse movement. Input from someone having
> a more detailed picture of how we're going to implement joystick
> support in general would be helpful here.
So what did this meen? no no yes? usb_hid are that a way of accessing USB
input devices? so should I still make a joystick device in usb_hid?
About the usb_joy
Some how the usb_joy driver fills a BJoystick without the need of gameport
driver (if its not an unknown part of libdevice.so or a driver that we
don't know about )I did a test by removing the gameport driver in Zeta 1.5
and after changing the ver 1.0 of the usb_joy to use USB3 it works here
without the next test will be to replace libdevice.so :)
>
> Regards
> Michael
>
>
--
MVH
Fredrik Modéen
- Follow-Ups:
- [haiku-development] Re: usb_joy
- From: Michael Lotz
- References:
- [haiku-development] Re: usb_joy
- From: Fredrik Modéen
- [haiku-development] Re: usb_joy
- From: Michael Lotz
Other related posts:
- » [haiku-development] usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- » [haiku-development] Re: usb_joy
- [haiku-development] Re: usb_joy
- From: Michael Lotz
- [haiku-development] Re: usb_joy
- From: Fredrik Modéen
- [haiku-development] Re: usb_joy
- From: Michael Lotz