From f417401d5b9b0f8e7bd4c04781150394b7569163 Mon Sep 17 00:00:00 2001 From: dianlujitao Date: Fri, 7 Feb 2020 00:04:57 +0800 Subject: sdm660-common: Support button backlight Change-Id: Id13a42976df428c95c19eae49e1c114f057510bb --- light/Light.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'light/Light.h') diff --git a/light/Light.h b/light/Light.h index 7acefa7..1a28589 100644 --- a/light/Light.h +++ b/light/Light.h @@ -41,9 +41,11 @@ class Light : public ILight { private: void setLightBacklight(Type type, const LightState& state); + void setLightButtons(Type type, const LightState& state); void setLightNotification(Type type, const LightState& state); void applyNotificationState(const LightState& state); + uint32_t max_button_brightness_; uint32_t max_led_brightness_; uint32_t max_screen_brightness_; @@ -57,6 +59,8 @@ class Light : public ILight { {Type::NOTIFICATIONS, {}}, {Type::BATTERY, {}}, }}; + + std::vector buttons_; }; } // namespace implementation -- cgit v1.2.3