Re: Win32 (GetAsyncKeyState)

new topic     » goto parent     » topic index » view thread      » older message » newer message

This might help

When the MOST significant bit of returned value is set, the key is
currently pressed down.
When the LEAST significant bit of returned value is set, the key is has
been pressed since last call to GetAsyncKeyState function.

So you have to monitor these bits as you scan the different keys that you
want to use.

There is also a GetKeyState function maybe that function would be easier
for you to use in your application but the return value bits have different
set of meanings.

I hope this can be of some help.

Bernie

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu