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

Adds an LED multicolor class device and attribute group for controlling
the RGB of the Left and right handles. 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.c