Skip to content

Commit cd63645

Browse files
committed
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull some more input subsystem updates from Dmitry Torokhov: "An updated xpad driver with a few more recognized device IDs, and a new psxpad-spi driver, allowing connecting Playstation 1 and 2 joypads via SPI bus" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: cros_ec_keyb - remove extraneous 'const' Input: add support for PlayStation 1/2 joypads connected via SPI Input: xpad - add USB IDs for Mad Catz Brawlstick and Razer Sabertooth Input: xpad - sync supported devices with xboxdrv Input: xpad - sort supported devices by USB ID
2 parents b53c4d5 + 3af9256 commit cd63645

File tree

5 files changed

+445
-7
lines changed

5 files changed

+445
-7
lines changed

drivers/input/joystick/Kconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,4 +330,25 @@ config JOYSTICK_MAPLE
330330
To compile this as a module choose M here: the module will be called
331331
maplecontrol.
332332

333+
config JOYSTICK_PSXPAD_SPI
334+
tristate "PlayStation 1/2 joypads via SPI interface"
335+
depends on SPI
336+
select INPUT_POLLDEV
337+
help
338+
Say Y here if you wish to connect PlayStation 1/2 joypads
339+
via SPI interface.
340+
341+
To compile this driver as a module, choose M here: the
342+
module will be called psxpad-spi.
343+
344+
config JOYSTICK_PSXPAD_SPI_FF
345+
bool "PlayStation 1/2 joypads force feedback (rumble) support"
346+
depends on JOYSTICK_PSXPAD_SPI
347+
select INPUT_FF_MEMLESS
348+
help
349+
Say Y here if you want to take advantage of PlayStation 1/2
350+
joypads rumble features.
351+
352+
To drive rumble motor a dedicated power supply is required.
353+
333354
endif

drivers/input/joystick/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ obj-$(CONFIG_JOYSTICK_INTERACT) += interact.o
2121
obj-$(CONFIG_JOYSTICK_JOYDUMP) += joydump.o
2222
obj-$(CONFIG_JOYSTICK_MAGELLAN) += magellan.o
2323
obj-$(CONFIG_JOYSTICK_MAPLE) += maplecontrol.o
24+
obj-$(CONFIG_JOYSTICK_PSXPAD_SPI) += psxpad-spi.o
2425
obj-$(CONFIG_JOYSTICK_SIDEWINDER) += sidewinder.o
2526
obj-$(CONFIG_JOYSTICK_SPACEBALL) += spaceball.o
2627
obj-$(CONFIG_JOYSTICK_SPACEORB) += spaceorb.o

0 commit comments

Comments
 (0)