From d574b933c1478659d8e8b53f8ffe86e94fb08c50 Mon Sep 17 00:00:00 2001 From: Michael Spradling Date: Sun, 31 Jan 2021 21:24:29 -0500 Subject: [PATCH] Add brightness to header file (#9) --- quantum/painter/qp.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/quantum/painter/qp.h b/quantum/painter/qp.h index 94e9e45e3386..49c017718642 100644 --- a/quantum/painter/qp.h +++ b/quantum/painter/qp.h @@ -70,6 +70,9 @@ bool qp_clear(painter_device_t device); // Handle turning a display on or off bool qp_power(painter_device_t device, bool power_on); +// Handle configuring the lcd backlight brightness or contrast +bool qp_brightness(painter_device_t device, uint8_t val); + // Set the viewport that pixdata is to get streamed into bool qp_viewport(painter_device_t device, uint16_t left, uint16_t top, uint16_t right, uint16_t bottom);