summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayLuts.cpp
diff options
context:
space:
mode:
author Aseda Aboagye <aaboagye@google.com> 2025-01-02 16:06:24 -0800
committer Aseda Aboagye <aaboagye@google.com> 2025-02-13 11:03:13 -0800
commit36b11598ba78b17aa3a5fbad8b3891944f977117 (patch)
tree6407860467e5e0f3b60c92d31c99f71d06fc0b80 /libs/gui/DisplayLuts.cpp
parent8e94d30ceb0e53bae49a13490740fa9b0318d344 (diff)
EventHub: Search IDC for additional lights
When an input device is connected to an internal bus, for example, an internal keyboard that uses the i8042 protocol, the keyboard backlight may not be located in the same path as the input device itself. To handle this case, this commit adds the functionality for a Input Device Configuration (IDC) file to be searched for additional lights. This path, if provided, is then added to the search path for lights. The new key is named: `device.additionalSysfsLedsNode`. The value is the path to the sysfs node for the additional LED. Bug: 357090960 Flag: EXEMPT bugfix Test: Manually on device that has an internal keyboard with backlight that uses the i8042 keyboard protocol with updated .idc file for internal keyboard, verify that keyboard backlight is able to be found and associated with the internal keyboard. Change-Id: I4fbcd05dc738ff7656111c6d1e3484d385c92616
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions