diff options
author | Roderick Colenbrander <roderick@gaikai.com> | 2022-10-29 11:48:51 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-11-11 11:07:09 +0100 |
commit | c64ed0cd9324f9e5f44deb6834ad9fb5bfa436bc (patch) | |
tree | 7fcb836af8a068b4f91c92325b65c3a2435ef5dc /lib/net_utils.c | |
parent | 58feecb4172b49ad1459e57556667a59df5bdda2 (diff) | |
download | linux-stable-c64ed0cd9324f9e5f44deb6834ad9fb5bfa436bc.tar.gz linux-stable-c64ed0cd9324f9e5f44deb6834ad9fb5bfa436bc.tar.bz2 linux-stable-c64ed0cd9324f9e5f44deb6834ad9fb5bfa436bc.zip |
HID: playstation: add DualShock4 dongle support.
This patch adds support for the DualShock4 dongle in a very similar
way we contributed to hid-sony before.
The dongle is a USB to Bluetooth bridge and uses the same HID reports
as a USB device. It reports data through the DS4's main USB input
report independent on whether a Bluetooth controller is connected.
For this reason there is custom dongle report parsing code to
detect controller hotplug and kick of calibration work until we
are ready to process actual input reports.
The logic also incorporates a workaround needed for Steam in which
hid-playstation and Steam using hidraw can fight.
Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions