|
From: John P. <joh...@o2...> - 2015-03-17 23:33:28
|
I'm currently working on a wrapper program to help test a controller task/module for a keypad/LCD display module that is part of an embedded system. I wish to use the PC's keyboard to substitute for the keypad on the LCD display module. As part of its operation the controller task needs to know when a key is pressed, while it is being held down and when it is released. ie the key state. 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. Hope someone can help. Thanks for everyones time and effort in keeping MinGW working and up to date. John |