#include "TZR_events.h" #include "TZR_globals.h" int TZR_LatestInputEvent(TZR_Event *e) { if (e == NULL) { TZR_Log("e is NULL"); return 0; } if (___tzr_latest_input.type == TZR_EV_NONE) return 0; *e = ___tzr_latest_input; return 1; }