|
From: Eli Z. <el...@gn...> - 2015-03-18 16:21:33
|
> Date: Tue, 17 Mar 2015 23:13:02 +0000 > From: John Pote <joh...@o2...> > > Does anyone know how I might be able to read the state of the PC's > keyboard in a program compiled by MinGW so I can get key down and key up > events or just read the state of the keyboard so I can determine key > down and key up events. I think you want GetKeyState, GetAsyncKeyState, and friends. If you are talking about a console program, then ReadConsoleInput might also be relevant. |