PS3's Joystick on FreeBSD (can be possible?)
amdmi3 at amdmi3.ru
Sat Jan 30 23:41:42 UTC 2010
* 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?
> .................................................. (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
More information about the freebsd-multimedia