blob: 550e2c32b9183348c281aa6af00c0798589a2707 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#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;
}
|