summaryrefslogtreecommitdiff
path: root/drivers/input/joystick/Kconfig
diff options
context:
space:
mode:
authorTomohiro Yoshidomi <sylph23k@gmail.com>2017-05-06 23:00:31 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-05-11 00:35:48 +0300
commit8be193c7b1f44d3f4dcb27107df0831709c2deb1 (patch)
tree52c0a43563a15200cabca561ffb3d128378c835a /drivers/input/joystick/Kconfig
parent4706aa075662fe3cad29c3f49b50878de53f4f3b (diff)
downloadlinux-8be193c7b1f44d3f4dcb27107df0831709c2deb1.tar.xz
Input: add support for PlayStation 1/2 joypads connected via SPI
PlayStation 1/2 joypads can be connected directly to the SPI interface. Signed-off-by: Tomohiro Yoshidomi <sylph23k@gmail.com> Acked-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/joystick/Kconfig')
-rw-r--r--drivers/input/joystick/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/input/joystick/Kconfig b/drivers/input/joystick/Kconfig
index 4215b5382092..f3c2f6ea8b44 100644
--- a/drivers/input/joystick/Kconfig
+++ b/drivers/input/joystick/Kconfig
@@ -330,4 +330,25 @@ config JOYSTICK_MAPLE
To compile this as a module choose M here: the module will be called
maplecontrol.
+config JOYSTICK_PSXPAD_SPI
+ tristate "PlayStation 1/2 joypads via SPI interface"
+ depends on SPI
+ select INPUT_POLLDEV
+ help
+ Say Y here if you wish to connect PlayStation 1/2 joypads
+ via SPI interface.
+
+ To compile this driver as a module, choose M here: the
+ module will be called psxpad-spi.
+
+config JOYSTICK_PSXPAD_SPI_FF
+ bool "PlayStation 1/2 joypads force feedback (rumble) support"
+ depends on JOYSTICK_PSXPAD_SPI
+ select INPUT_FF_MEMLESS
+ help
+ Say Y here if you want to take advantage of PlayStation 1/2
+ joypads rumble features.
+
+ To drive rumble motor a dedicated power supply is required.
+
endif