Commit 8be193c7 authored by Tomohiro Yoshidomi's avatar Tomohiro Yoshidomi Committed by Dmitry Torokhov

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: default avatarTomohiro Yoshidomi <sylph23k@gmail.com>
Acked-by: default avatarDavid Herrmann <dh.herrmann@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 4706aa07
......@@ -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
......@@ -21,6 +21,7 @@ obj-$(CONFIG_JOYSTICK_INTERACT) += interact.o
obj-$(CONFIG_JOYSTICK_JOYDUMP) += joydump.o
obj-$(CONFIG_JOYSTICK_MAGELLAN) += magellan.o
obj-$(CONFIG_JOYSTICK_MAPLE) += maplecontrol.o
obj-$(CONFIG_JOYSTICK_PSXPAD_SPI) += psxpad-spi.o
obj-$(CONFIG_JOYSTICK_SIDEWINDER) += sidewinder.o
obj-$(CONFIG_JOYSTICK_SPACEBALL) += spaceball.o
obj-$(CONFIG_JOYSTICK_SPACEORB) += spaceorb.o
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment