HID: playstation: add DualSense accelerometer and gyroscope support.
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Sun, 7 Feb 2021 21:49:00 +0000 (13:49 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 11 Feb 2021 15:57:13 +0000 (16:57 +0100)
commit402987c5d98a9dd0d611cfe3af5e5bdc13d122d0
tree3e87d426d0d746084f8c2556d3273fbe7c689d47
parentf6bb05fcb2a10ff26ac5af1c29066d42019dc464
HID: playstation: add DualSense accelerometer and gyroscope support.

The DualSense features an accelerometer and gyroscope. The data is
embedded into the main HID input reports. Expose both sensors through
through a separate evdev node.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Reviewed-by: Barnabás Pőcze <pobrn@protonmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-playstation.c