]> git.baikalelectronics.ru Git - kernel.git/commit
HID: sony: Add force feedback support for Dualshock3 USB
authorSven Eckelmann <sven@narfation.org>
Sat, 9 Nov 2013 18:25:57 +0000 (19:25 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 11 Nov 2013 10:25:46 +0000 (11:25 +0100)
commitfc6dc94901c8515ea62dd44c5733373e9aafbbed
tree476d2fe040e9337b70f73587c56f27890059ae08
parent3040809fb13423599d0942ac4b6e21a8b15cfdd9
HID: sony: Add force feedback support for Dualshock3 USB

Sony Dualshock 3 controllers have two motors which can be used to provide
simple force feedback rumble effects. The right motor is can be used to create
a weak rumble effect but does not allow to set the force. The left motor is
used to create a strong rumble effect with adjustable intensity.

The state of both motors can be changed using HID_OUTPUT_REPORT packets and
have no timing information. FF memless is used to keep track of the timing and
the sony driver just generates the necessary URBs.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-sony.c