#pragma once #include #include #include #include #include "tools/cabana/streams/abstractstream.h" using StreamLoader = std::function()>; int run(std::unique_ptr stream, StreamLoader stream_loader, const std::string &dbc_file); struct KeyEvent { int key; int mods; }; std::vector takeKeyEvents();