feat(gdeq031t10): support an optional frontlight (#633)

This commit is contained in:
Crazypedia
2026-08-28 02:59:46 -04:00
committed by GitHub
parent 020aa471e2
commit b7577f2328
3 changed files with 36 additions and 3 deletions
@@ -10,6 +10,8 @@ extern "C" {
#include <tactility/drivers/gpio.h>
struct Device;
/** Waveform/refresh mode used for automatic full-screen refreshes. */
enum Gdeq031t10RefreshMode {
GDEQ031T10_REFRESH_FULL = 0, // ~3s, best quality
@@ -26,6 +28,8 @@ struct Gdeq031t10Config {
enum Gdeq031t10RefreshMode refresh_mode;
/** Panel is mounted upside down relative to the reference orientation */
bool mirror_180;
/** Optional reference to this panel's frontlight/backlight device, NULL if none. */
struct Device* backlight;
};
#ifdef __cplusplus