#pragma once #include #include #include #include "gfx/theme.h" #include "logger.hpp" namespace mc::app { extern std::atomic exitFlag; extern std::unique_ptr log; extern const ColorSet *theme; extern uint8_t counter; struct UserInput { uint64_t kDown; uint64_t kHeld; JoystickPosition leftStick; JoystickPosition rightStick; touchPosition touchPos; }; void Initialise(void); void Finalise(void); void ScanInput(UserInput *input); }