I am making a game and I need to know if an up key or down key is down and move the player accordingly. I found GetAsyncKeyState and GetKeyState on google but I can't figure out how they work and what I should use.
Can someone explain how to tell if a key is down please.
Thanks