summaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2013-11-09 19:25:57 +0100
committerJiri Kosina <jkosina@suse.cz>2013-11-11 11:25:46 +0100
commita08c22c0df0ad23d0df10ae1a9df26643589b3cc (patch)
tree476d2fe040e9337b70f73587c56f27890059ae08 /drivers/hid/Kconfig
parentae2aa3a512fa5f50f67feba9e66bc2efb394bd63 (diff)
downloadop-kernel-dev-a08c22c0df0ad23d0df10ae1a9df26643589b3cc.zip
op-kernel-dev-a08c22c0df0ad23d0df10ae1a9df26643589b3cc.tar.gz
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>
Diffstat (limited to 'drivers/hid/Kconfig')
-rw-r--r--drivers/hid/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 5374724..48525de 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -613,6 +613,14 @@ config HID_SONY
* Sony PS3 Blue-ray Disk Remote Control (Bluetooth)
* Logitech Harmony adapter for Sony Playstation 3 (Bluetooth)
+config SONY_FF
+ bool "Sony PS2/3 accessories force feedback support"
+ depends on HID_SONY
+ select INPUT_FF_MEMLESS
+ ---help---
+ Say Y here if you have a Sony PS2/3 accessory and want to enable force
+ feedback support for it.
+
config HID_SPEEDLINK
tristate "Speedlink VAD Cezanne mouse support"
depends on HID
OpenPOWER on IntegriCloud