diff options
author | Sven Eckelmann <sven@narfation.org> | 2013-11-09 13:25:57 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-11-11 05:25:46 -0500 |
commit | a08c22c0df0ad23d0df10ae1a9df26643589b3cc (patch) | |
tree | 476d2fe040e9337b70f73587c56f27890059ae08 /drivers/hid/Kconfig | |
parent | ae2aa3a512fa5f50f67feba9e66bc2efb394bd63 (diff) |
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/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 53747245d904..48525de02a39 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig | |||
@@ -613,6 +613,14 @@ config HID_SONY | |||
613 | * Sony PS3 Blue-ray Disk Remote Control (Bluetooth) | 613 | * Sony PS3 Blue-ray Disk Remote Control (Bluetooth) |
614 | * Logitech Harmony adapter for Sony Playstation 3 (Bluetooth) | 614 | * Logitech Harmony adapter for Sony Playstation 3 (Bluetooth) |
615 | 615 | ||
616 | config SONY_FF | ||
617 | bool "Sony PS2/3 accessories force feedback support" | ||
618 | depends on HID_SONY | ||
619 | select INPUT_FF_MEMLESS | ||
620 | ---help--- | ||
621 | Say Y here if you have a Sony PS2/3 accessory and want to enable force | ||
622 | feedback support for it. | ||
623 | |||
616 | config HID_SPEEDLINK | 624 | config HID_SPEEDLINK |
617 | tristate "Speedlink VAD Cezanne mouse support" | 625 | tristate "Speedlink VAD Cezanne mouse support" |
618 | depends on HID | 626 | depends on HID |