]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06cb55bcb4dac5311dde418c6489343c461cf518
tree5db9a0535db165e0de1390c5b175a059cd701ecd
parente84fc2b33d5084caf8085d296f44ef0214a4317f
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