Hi,
I’m currently creating a game engine for a game and sometimes is hard to
find how SDL works so I’m starting a series of tutorial of how implement
different things using SDL.
This one explains how easily detect the state of a key taking advantage of
the function SDL_GetKeyboardState.
I hope this is useful for someone.
http://www.falukdevelop.com/2016/08/18/simple-sdl-2-keyboard-key-status/
I will try to write a tutorial every 1~2 weeks. About different topics.