#pragma once #include "dinkyecs.hpp" #include #include namespace components { using namespace nlohmann; struct Device { json config; std::vector events; void configure_events(json &event_names); }; }