aboutsummaryrefslogtreecommitdiff
path: root/sources/TZR_IsKeyDown.c
diff options
context:
space:
mode:
Diffstat (limited to 'sources/TZR_IsKeyDown.c')
-rw-r--r--sources/TZR_IsKeyDown.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/TZR_IsKeyDown.c b/sources/TZR_IsKeyDown.c
index 767e7ed..3706242 100644
--- a/sources/TZR_IsKeyDown.c
+++ b/sources/TZR_IsKeyDown.c
@@ -1,6 +1,7 @@
#include "TZR_keystate.h"
-bool TZR_IsKeyDown(int scancode)
+bool
+TZR_IsKeyDown(int scancode)
{
const TZR_KeyState state = TZR_GetKeyState(scancode);
return (state == TZR_KEYSTATE_DOWN || state == TZR_KEYSTATE_PRESS);