20 #ifndef ANTKEEPER_INPUT_ACTION_HPP
21 #define ANTKEEPER_INPUT_ACTION_HPP
52 m_threshold_function =
function;
70 void reset() noexcept;
75 return m_threshold_function;
79 [[nodiscard]]
inline bool is_active() const noexcept
93 return m_activated_publisher.channel();
99 return m_active_publisher.channel();
105 return m_deactivated_publisher.channel();
110 bool m_active{
false};
112 action_activated_event m_activated_event{
this};
113 action_active_event m_active_event{
this, 0.0f};
114 action_deactivated_event m_deactivated_event{
this};
Publishes messages to subscribers.