Hi, could anyone please either explain how to get key presses from a handle or point me in the right direction with a good tutorial? Thanks.
Hi, could anyone please either explain how to get key presses from a handle or point me in the right direction with a good tutorial? Thanks.
umm, use DirectInput, SDL, or something similar. Win32 may have keyboard functionality, but I think it is all through DirectInput.
AFAIK, Win API already has keyboard events functions. I remember them from NeHe's OpenGL Tutorial. Or you could use SDL's event handler.
ERROR: Brain not found. Please insert a new brain!
“Do nothing which is of no use.” - Miyamoto Musashi.