|
Yes, GetAsyncKeyState works just fine.
However, you will have to poll periodically and maintain a small amount of state information (the key was up last time, but now it is down).
I'd avoid hooks for now...much easier to mess up. In the future, you may want to consider them as a better solution.
__________________
MD5(sig) = bcef75433db02e9ad9bf81d6f7c5c270
|