File tree Expand file tree Collapse file tree 5 files changed +1377
-0
lines changed Expand file tree Collapse file tree 5 files changed +1377
-0
lines changed Original file line number Diff line number Diff line change @@ -7928,6 +7928,12 @@ F: drivers/hid/
79287928F: include/linux/hid*
79297929F: include/uapi/linux/hid*
79307930
7931+ HID PLAYSTATION DRIVER
7932+ M: Roderick Colenbrander <roderick.colenbrander@sony.com>
7933+ L: linux-input@vger.kernel.org
7934+ S: Supported
7935+ F: drivers/hid/hid-playstation.c
7936+
79317937HID SENSOR HUB DRIVERS
79327938M: Jiri Kosina <jikos@kernel.org>
79337939M: Jonathan Cameron <jic23@kernel.org>
Original file line number Diff line number Diff line change @@ -853,6 +853,24 @@ config HID_PLANTRONICS
853853
854854 Say M here if you may ever plug in a Plantronics USB audio device.
855855
856+ config HID_PLAYSTATION
857+ tristate "PlayStation HID Driver"
858+ depends on HID
859+ select CRC32
860+ select POWER_SUPPLY
861+ help
862+ Provides support for Sony PS5 controllers including support for
863+ its special functionalities e.g. touchpad, lights and motion
864+ sensors.
865+
866+ config PLAYSTATION_FF
867+ bool "PlayStation force feedback support"
868+ depends on HID_PLAYSTATION
869+ select INPUT_FF_MEMLESS
870+ help
871+ Say Y here if you would like to enable force feedback support for
872+ PlayStation game controllers.
873+
856874config HID_PRIMAX
857875 tristate "Primax non-fully HID-compliant devices"
858876 depends on HID
Original file line number Diff line number Diff line change @@ -94,6 +94,7 @@ hid-picolcd-$(CONFIG_HID_PICOLCD_CIR) += hid-picolcd_cir.o
9494hid-picolcd-$(CONFIG_DEBUG_FS) += hid-picolcd_debugfs.o
9595
9696obj-$(CONFIG_HID_PLANTRONICS) += hid-plantronics.o
97+ obj-$(CONFIG_HID_PLAYSTATION) += hid-playstation.o
9798obj-$(CONFIG_HID_PRIMAX) += hid-primax.o
9899obj-$(CONFIG_HID_REDRAGON) += hid-redragon.o
99100obj-$(CONFIG_HID_RETRODE) += hid-retrode.o
Original file line number Diff line number Diff line change 10771077#define USB_DEVICE_ID_SONY_PS4_CONTROLLER 0x05c4
10781078#define USB_DEVICE_ID_SONY_PS4_CONTROLLER_2 0x09cc
10791079#define USB_DEVICE_ID_SONY_PS4_CONTROLLER_DONGLE 0x0ba0
1080+ #define USB_DEVICE_ID_SONY_PS5_CONTROLLER 0x0ce6
10801081#define USB_DEVICE_ID_SONY_MOTION_CONTROLLER 0x03d5
10811082#define USB_DEVICE_ID_SONY_NAVIGATION_CONTROLLER 0x042f
10821083#define USB_DEVICE_ID_SONY_BUZZ_CONTROLLER 0x0002
You can’t perform that action at this time.
0 commit comments