Re: PS3's Joystick on FreeBSD (can be possible?)

From: Dmitry Marakasov <amdmi3_at_amdmi3.ru>
Date: Sun, 31 Jan 2010 01:40:12 +0300
* Vinicius Abrahao (vinnix.bsd_at_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_at_amdmi3.ru  ..:  jabber: amdmi3_at_jabber.ru    http://www.amdmi3.ru
Received on Sat Jan 30 2010 - 21:40:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:00 UTC