[DRIVER][WIP] Playstation controllers (DualShock 3/4, Navigation/Motion Controller, ...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am a total newbie in Linux kernel development (but not in C
programming), and I started to write a USB driver for the DualShock 4
(and also others controllers/equipments for the PlayStation 3/4 while
I'm at it).

My objective is to sanitize what is reported to the userspace (most
games don't like 28+ axes all with a value of -32767), add support for
the trackpad/sound output on the DualShock 4, and (finally!) have
proper Linux support for the DualShock 3.

So far I managed to report all axes and buttons for the DualShock 4,
and also the touchpad (currently reported as 4 axis, unsure how to
deal with it for now...).

I also wrote initial support for :
Sony DualShock 3
Sony Navigation Controller
Sony Motion Controller

But it's more proof-of-concept than ready to release at this point.

To use it, download all files, run make, then run ./setup.sh as root
to install the driver (as a total newbie in Linux programming, I'm not
sure how to integrate this in the Linux build process).

ppad.c contains my driver for all controllers as it is now,
ppad_dualshock4.c is the same file with only DualShock 4 support for
ease of reviewing. I used the xpad driver (Xbox controllers) as a
starting point.

The files are hosted on Google Code :
http://code.google.com/p/linux-playstation-drivers/source/browse/

PS : do NOT pull into a Linux Git repository, this driver is NOT
integrated in the Linux source tree!

Feedback would be much appreciated :-)

Jean-Baptiste Boric
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux