Trace Engine
A Raycaster Engine in C
Loading...
Searching...
No Matches
app_input.c File Reference
#include "app_input.h"
#include "SDL_keyboard.h"
#include "SDL_scancode.h"

Functions

bool is_key_being_pressed (const char key)
 
bool is_key_just_pressed (const char key)
 

Function Documentation

◆ is_key_being_pressed()

bool is_key_being_pressed ( const char  key)

Returns true if the given key is being pressed

◆ is_key_just_pressed()

bool is_key_just_pressed ( const char  key)

Returns true when the key has just been pressed