Implemented basic keyboard #18

Merged
CommanderRedYT merged 9 commits from keyboard into main 2022-06-14 13:56:33 +02:00
2 changed files with 5 additions and 1 deletions
Showing only changes of commit 80e45d368e - Show all commits

View File

@@ -2,4 +2,4 @@
namespace espgui { namespace espgui {
TFT_eSPI tft; TFT_eSPI tft;
} } // namespace espgui

View File

@@ -5,4 +5,8 @@
namespace espgui { namespace espgui {
extern TFT_eSPI tft; extern TFT_eSPI tft;
inline bool isLandscape()
{
return (tft.getRotation() == 1 || tft.getRotation() == 3);
}
} }