blob: 767e7ed908b598caaca6b6a239e98a264d3a8506 (
plain)
1
2
3
4
5
6
7
|
#include "TZR_keystate.h"
bool TZR_IsKeyDown(int scancode)
{
const TZR_KeyState state = TZR_GetKeyState(scancode);
return (state == TZR_KEYSTATE_DOWN || state == TZR_KEYSTATE_PRESS);
}
|