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/input/feedback_device.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tangara/input/feedback_device.hpp') diff --git a/src/tangara/input/feedback_device.hpp b/src/tangara/input/feedback_device.hpp index 4faeeafd..8253642f 100644 --- a/src/tangara/input/feedback_device.hpp +++ b/src/tangara/input/feedback_device.hpp @@ -7,6 +7,7 @@ #pragma once #include +#include "core/lv_group.h" namespace input { @@ -23,7 +24,7 @@ class IFeedbackDevice { public: virtual ~IFeedbackDevice() {} - virtual auto feedback(uint8_t event_type) -> void = 0; + virtual auto feedback(lv_group_t* group, uint8_t event_type) -> void = 0; // TODO: Add configuration; likely the same shape of interface that // IInputDevice uses. -- cgit v1.2.3