HID: playstation: expose DualSense player LEDs through LED class.
authorRoderick Colenbrander <roderick@gaikai.com>
Wed, 8 Sep 2021 16:55:39 +0000 (09:55 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 27 Oct 2021 07:49:29 +0000 (09:49 +0200)
commit8c0ab553b072025530308f74b2c0223ec50dffe5
tree5db9a0535db165e0de1390c5b175a059cd701ecd
parent61177c088a57bed259122f3c7bc6d61984936a12
HID: playstation: expose DualSense player LEDs through LED class.

The DualSense player LEDs were so far not adjustable from user-space.
This patch exposes each LED individually through the LED class. Each
LED uses the new 'player' function resulting in a name like:
'inputX:white:player-1' for the first LED.

Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-playstation.c