]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit822e25f84c5ae00fa35e8eb3026fd467c78d2763
tree3e87d426d0d746084f8c2556d3273fbe7c689d47
parent6f165a0bcd64fddc9d6a1a82da93d78a0461dd46
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