diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-05-29 14:45:49 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-05-29 14:45:49 +1000 |
| commit | 2ff8eac022f397bb1aed28aca376fbe422fc8b3c (patch) | |
| tree | ae80d0d89a212b1badf1d971fc67e701a9e4e962 /src/tangara/input/feedback_device.hpp | |
| parent | ef812a53e5a84665e74be8c46cb983edaa712b3f (diff) | |
| download | tangara-fw-2ff8eac022f397bb1aed28aca376fbe422fc8b3c.tar.gz | |
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"
Diffstat (limited to 'src/tangara/input/feedback_device.hpp')
| -rw-r--r-- | src/tangara/input/feedback_device.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 <cstdint> +#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. |
