[Core] Quantum Painter - LVGL Integration (#18499)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
2d19e59d78
commit
102f22f7e9
24 changed files with 1140 additions and 3 deletions
25
quantum/painter/lvgl/qp_lvgl.h
Normal file
25
quantum/painter/lvgl/qp_lvgl.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
// Copyright 2022 Jose Pablo Ramirez (@jpe230)
|
||||
// Copyright 2022 Nick Brassel (@tzarc)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "qp.h"
|
||||
#include "lvgl.h"
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Quantum Painter - LVGL External API
|
||||
|
||||
/**
|
||||
* Sets up LVGL with the supplied display.
|
||||
*
|
||||
* @param device[in] the handle of the device to control
|
||||
* @return true if init. of LVGL succeeded
|
||||
* @return false if init. of LVGL failed
|
||||
*/
|
||||
bool qp_lvgl_attach(painter_device_t device);
|
||||
|
||||
/**
|
||||
* Disconnects LVGL from any attached display
|
||||
*/
|
||||
void qp_lvgl_detach(void);
|
Loading…
Add table
Add a link
Reference in a new issue