From 135185f12ba07dea8568b06c0a65a00a8af7deb7 Mon Sep 17 00:00:00 2001 From: Robin Howard Date: Tue, 7 Nov 2023 15:46:07 +1100 Subject: haptics: adds a wrapper for the DRV2605L haptic motor driver ... with facilities to trigger effects via the system fsm. --- src/system_fsm/include/system_fsm.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/system_fsm/include/system_fsm.hpp') diff --git a/src/system_fsm/include/system_fsm.hpp b/src/system_fsm/include/system_fsm.hpp index 28448e5a..c9803bef 100644 --- a/src/system_fsm/include/system_fsm.hpp +++ b/src/system_fsm/include/system_fsm.hpp @@ -50,6 +50,8 @@ class SystemState : public tinyfsm::Fsm { void react(const internal::GpioInterrupt&); void react(const internal::SamdInterrupt&); + void react(const HapticTrigger&); + virtual void react(const DisplayReady&) {} virtual void react(const BootComplete&) {} virtual void react(const StorageMounted&) {} -- cgit v1.2.3