Replace Tactility SystemEvents with new kernel implementation (#598)

TactilityKernel now has a system event API to replace the one from the Tactility subproject. It also implements several tests for it.
This commit is contained in:
Ken Van Hoeylandt
2026-07-29 17:31:20 +02:00
committed by GitHub
parent 6e55e71e67
commit acb2f1d4c7
19 changed files with 589 additions and 190 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
#include <Tactility/settings/Time.h>
#include <Tactility/SystemEvents.h>
#include <Tactility/Preferences.h>
#include <Tactility/settings/SystemSettings.h>
#include <tactility/system_event.h>
#ifdef ESP_PLATFORM
#include <ctime>
#endif
@@ -36,7 +37,7 @@ void setTimeZone(const std::string& name, const std::string& code) {
tzset();
#endif
kernel::publishSystemEvent(kernel::SystemEvent::Time);
system_event_emit(KERNEL_EVENT_TIME_CHANGED, nullptr, 0);
}
std::string getTimeZoneName() {