]> git.baikalelectronics.ru Git - kernel.git/commit
HID: playstation: add DualSense player LED support.
authorRoderick Colenbrander <roderick.colenbrander@sony.com>
Wed, 17 Feb 2021 00:56:09 +0000 (16:56 -0800)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 18 Feb 2021 16:41:51 +0000 (17:41 +0100)
commit533553bd8da64b10b99043178a15850da3f15db4
treef087ed8500b1e8439e5c527a9e63ca603ffe4490
parent3a4c75c1a86928db27b0174a6727c4db725051d9
HID: playstation: add DualSense player LED support.

The DualSense features 5 player LEDs below its touchpad, which are
meant as player id indications. The LEDs are configured with a
player ID determined by an ID allocator, which assign player ids
to ps_device instances.

This patch is a combination of the following original patches
minus use of LED framework APIs:
- HID: playstation: add DualSense player LEDs support.
- HID: playstation: DualSense set LEDs to default player id.

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