touchhandler: Remove LVGL dependency

Move LVGL specific code to the LittleVgl class
This commit is contained in:
Riku Isokoski
2023-02-23 13:28:04 +02:00
parent 6542f255cd
commit 7066ff5aba
7 changed files with 39 additions and 51 deletions

View File

@@ -343,10 +343,9 @@ void SystemTask::Work() {
break;
case Messages::OnTouchEvent:
if (touchHandler.GetNewTouchInfo()) {
touchHandler.UpdateLvglTouchPoint();
ReloadIdleTimer();
displayApp.PushMessage(Pinetime::Applications::Display::Messages::TouchEvent);
}
ReloadIdleTimer();
displayApp.PushMessage(Pinetime::Applications::Display::Messages::TouchEvent);
break;
case Messages::HandleButtonEvent: {
Controllers::ButtonActions action = Controllers::ButtonActions::None;