From 7066ff5aba3d2643a35ba98379ff24143da99c3c Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Thu, 23 Feb 2023 13:28:04 +0200 Subject: touchhandler: Remove LVGL dependency Move LVGL specific code to the LittleVgl class --- src/systemtask/SystemTask.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/systemtask') diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp index 73f573fa..38bba1a5 100644 --- a/src/systemtask/SystemTask.cpp +++ b/src/systemtask/SystemTask.cpp @@ -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; -- cgit v1.2.3-70-g09d2