diff options
author | Roland Reichwein <mail@reichwein.it> | 2025-01-04 18:27:21 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2025-01-04 18:27:21 +0100 |
commit | dbe72ddb8eb215de6d38cd01ed201704ab315a4f (patch) | |
tree | 8fda403192090d8560bca9fe5a2e9f9e4e1a7e41 /InternalClick.h | |
parent | 2e793141e5434043205763c70d3a597cf2d78eeb (diff) |
Compensate phase
Diffstat (limited to 'InternalClick.h')
-rw-r--r-- | InternalClick.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/InternalClick.h b/InternalClick.h index 1fffb6c..3fb04d4 100644 --- a/InternalClick.h +++ b/InternalClick.h @@ -1,5 +1,7 @@ #pragma once +#include <chrono> + #include <boost/signals2.hpp> #include "config.h" @@ -15,7 +17,7 @@ public: InternalClick(Config& config); // signals - boost::signals2::signal<void(int64_t)> signal_click; + boost::signals2::signal<void(std::chrono::duration<double>)> signal_click; // offset in s // slots void run_cyclic_50ms(); |