Example adapt to two screens
This commit is contained in:
@@ -434,6 +434,9 @@ void setup()
|
|||||||
// Init touch device
|
// Init touch device
|
||||||
touch_init(gfx->width(), gfx->height(), gfx->getRotation());
|
touch_init(gfx->width(), gfx->height(), gfx->getRotation());
|
||||||
|
|
||||||
|
// Adapt to two screens, the difference between them is that the colors are reversed, you can annotate them after confirming the screen
|
||||||
|
gfx->invertDisplay(true);
|
||||||
|
|
||||||
// Init keyboard device
|
// Init keyboard device
|
||||||
keyboard_init();
|
keyboard_init();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user