#ifndef TEENSY_CONTEXT_H_ #define TEENSY_CONTEXT_H_ #include "teensy_common.h" #include "teensy_renderer.h" #include "teensy.h" struct ty_ctx { struct ty_hints hints; double ticrate; double prev_tic_ts; bool down[TY_BTN_COUNT]; bool pressed[TY_BTN_COUNT]; }; extern struct ty_ctx ctx; bool is_init(void); #endif // TEENSY_CONTEXT_H_