]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
HID: hid-lenovo-go-s: Add RGB LED control interface
authorDerek J. Clark <derekjohn.clark@gmail.com>
Tue, 10 Mar 2026 07:29:32 +0000 (07:29 +0000)
committerJiri Kosina <jkosina@suse.com>
Tue, 10 Mar 2026 16:53:18 +0000 (17:53 +0100)
commitbe6d7dbb368ba840d7f7624d90e93d0acb2a1e94
tree50921f4f6fc48f6692936e35d4b4bd7e07219384
parente10f5499384d33d4a818f4309b46b974ac1a155e
HID: hid-lenovo-go-s: Add RGB LED control interface

Adds an LED multicolor class device and attribute group for controlling
the RGB of the Left and right joystick rings. In addition to the standard
led_cdev attributes, additional attributes that allow for the control of
the effect (monocolor, breathe, rainbow, and chroma), speed of the
effect change, an enable toggle, and profile.

Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-lenovo-go-s.c