Example adapt to two screens

This commit is contained in:
lewishe
2023-08-08 12:20:47 +08:00
parent f35b2c444a
commit cfa755407c
@@ -434,6 +434,9 @@ void setup()
// Init touch device
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
keyboard_init();