blob: 370624286c4e587f0aae4dc6285c436f13121cd8 (
plain)
1
2
3
4
5
6
7
8
|
#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);
}
|