From 2ff8eac022f397bb1aed28aca376fbe422fc8b3c Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 29 May 2024 14:45:49 +1000 Subject: Start on TTS support by logging the data that will become TTS lines Includes some misc cleanup of haptic double-triggering (or non-triggering), since those cases all end up being TTS event double-reporting, which to me crosses the threshold from "annoying" to "usability issue" --- src/tangara/ui/lvgl_task.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tangara/ui/lvgl_task.cpp') diff --git a/src/tangara/ui/lvgl_task.cpp b/src/tangara/ui/lvgl_task.cpp index 448aa261..4d12b24b 100644 --- a/src/tangara/ui/lvgl_task.cpp +++ b/src/tangara/ui/lvgl_task.cpp @@ -68,14 +68,14 @@ auto UiTask::Main() -> void { if (screen != current_screen_ && screen != nullptr) { lv_scr_load(screen->root()); if (input_) { - lv_indev_set_group(input_->registration(), screen->group()); + input_->setGroup(screen->group()); } current_screen_ = screen; } if (input_ && current_screen_->group() != current_group) { current_group = current_screen_->group(); - lv_indev_set_group(input_->registration(), current_group); + input_->setGroup(current_group); } TickType_t delay = lv_timer_handler(); -- cgit v1.2.3