aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2021-02-07 13:49:03 -0800
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2021-02-11 16:57:26 +0100
commit51151098d7ab832f2a8b8f5c51fe224a9c98fdd5 (patch)
tree4859032e85571013486afb540cf541c15515c6d9 /drivers/hid/Kconfig
parentHID: playstation: add DualSense Bluetooth support. (diff)
downloadlinux-dev-51151098d7ab832f2a8b8f5c51fe224a9c98fdd5.tar.xz
linux-dev-51151098d7ab832f2a8b8f5c51fe224a9c98fdd5.zip
HID: playstation: add DualSense classic rumble support.
The DualSense features a haptics system based on voicecoil motors, which requires PCM data (or special HID packets using Bluetooth). There is no appropriate API yet in the Linux kernel to expose these. The controller also provides a classic rumble feature for backwards compatibility. Expose this classic rumble feature using the FF framework. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Reviewed-by: Barnabás Pőcze <pobrn@protonmail.com> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
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 93e7899a8182..7ae9eef6ca64 100644
--- a/drivers/hid/Kconfig
+++ b/drivers/hid/Kconfig
@@ -863,6 +863,14 @@ config HID_PLAYSTATION
its special functionalities e.g. touchpad, lights and motion
sensors.
+config PLAYSTATION_FF
+ bool "PlayStation force feedback support"
+ depends on HID_PLAYSTATION
+ select INPUT_FF_MEMLESS
+ help
+ Say Y here if you would like to enable force feedback support for
+ PlayStation game controllers.
+
config HID_PRIMAX
tristate "Primax non-fully HID-compliant devices"
depends on HID