diff options
| author | Aaron Erhardt <aer@tuxedocomputers.com> | 2026-10-07 10:01:49 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-14 15:30:15 +0300 |
| commit | ef6ff9aebf5b8797590e4fa586114a2688106a4d (patch) | |
| tree | 2132e9aeec7f5f345a10e1a4426f5f54e8d30efa /tools/perf/scripts/python/stackcollapse.py | |
| parent | b6bdd22c3b92abe6f192ab533b843b52346a7640 (diff) | |
platform/x86/tuxedo: Use intensity according to HID spec
So far, this driver assumed incorrectly that the HID spec requires an
8-bit intensity value to be honored. The spec actually allows multiple
intensities for RGB lamps, but suggest to rather set brightness
through the individual channels, which is also what the Microsoft
MacroPad reference implementation does.
Accordingly, this commit simplifies intensity handling by offering
only two intensity values for turning LEDs on and off. All other color
values are submitted through the color channels individually, thus
avoiding duplicated handling of brightness.
Additionally, the incorrect comments explaining the deviation from the
MacroPad reference implementation were removed.
Reviewed-by: Werner Sembach <wse@tuxedocomputers.com>
Signed-off-by: Aaron Erhardt <aer@tuxedocomputers.com>
Link: https://patch.msgid.link/20261007080202.81694-4-aer@tuxedocomputers.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
