Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jan 2010 01:40:12 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Vinicius Abrahao <vinnix.bsd@gmail.com>
Cc:        freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, x11@freebsd.org, daimler3@gmail.com, freebsd-usb@freebsd.org
Subject:   Re: PS3's Joystick on FreeBSD (can be possible?)
Message-ID:  <20100130224012.GE7854@hades.panopticon>
In-Reply-To: <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com>
References:  <1e31c7981001301212w4b787795j1e22837342faee5a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* Vinicius Abrahao (vinnix.bsd@gmail.com) wrote:

> I'm finally having some time to have fun with my FreeBSD. :-)
> Do you know about any progress with joystick supports?
> 
> Here I have a PS3 controller, and have some time to help with tests
> and little coding.
> ugen1.5: <Sony> at usbus1
> uhid0: <Sony PLAYSTATION(R)3 Controller, class 0/0, rev 2.00/1.00,
> addr 5> on usbus1
> 
> Is somebody working with it?
> 
> http://wiki.freebsd.org/DmitryMarakasov
> .................................................. (Dmitry, do you
> need any help?)

No, I just need more free time to finally get to it. Actually, if
it's attached as uhid, it may already work in e.g. SDL games.

If it doesn't, it
- Uses some non-standart report (i.e. reporting buttons/axes as
  'vendor-specific' values, which software doesn't know how to deal
  with). In this case the report should be analyzed and a simple
  wrapper driver may be written)
- Is the same case as with my M$ joystick, which uses standart, but a
  just a bit unusual report, which e.g. SDL is unable to parse. This
  should be fixed by my long-planned rewrite of HID parser for SDL,
  which will also be useable in OIS and possibly other libs.

Let's start with

usbhidctl -f /dev/uhid0 -r

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100130224012.GE7854>