aboutsummaryrefslogtreecommitdiff
path: root/sources/TZR_IsKeyReleased.c
blob: 435b789933a99294e16319eb2a7190e009e5adb8 (plain)
1
2
3
4
5
6
7
8
9
#include "TZR_keystate.h"

bool
TZR_IsKeyReleased(int scancode)
{
	if (TZR_GetKeyState(scancode) == TZR_KEYSTATE_RELEASE)
		return true;
	return false;
}