#ifndef TEENSY_PLATFORM_H_ #define TEENSY_PLATFORM_H_ #include "teensy.h" #include "teensy_context.h" // This platform functions are to be implemented by a platform library. void ty_platform_init(ty_Ctx *ctx); void ty_platform_deinit(void); void ty_platform_frame(ty_Image img); bool ty_platform_os_wants_quit(void); double ty_platform_get_time(void); bool ty_platform_is_button_down(ty_Button btn); // Optional, no editor if not implemented ty_Vec2i ty_platform_get_mouse(void); bool ty_platform_get_typed_char(uint32_t *c); int ty_platform_get_scroll(void); #endif // TEENSY_PLATFORM_H_