-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BACKPORT: 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 <[email protected]> Reviewed-by: Barnabás Pőcze <[email protected]> Signed-off-by: Benjamin Tissoires <[email protected]> Bug: 167947264 Change-Id: I2a9ef9949bb82df18247a14e64cb8c54e9b3924c (cherry picked from commit 949aacc) [roderick: Changed ida_alloc/ida_remove to ida_simple_get/ida_simple_free.] Signed-off-by: Roderick Colenbrander <[email protected]> Signed-off-by: Farid Chahla <[email protected]> Signed-off-by: Chenyang Zhong <[email protected]>
- Loading branch information
1 parent
c7c8399
commit 60e5d9b
Showing
1 changed file
with
82 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters