Archived

This topic is now archived and is closed to further replies.

CoderTCD

what is the difference between direct input and GetAsyncKeyState function?

Recommended Posts

Is there any difference of using DirectInput or GetAsyncKeyState function? Does DirectInput have advantages? Question 2: Sometimes I can''t get quick keystrokes with DirectInput. How can I get all the keys if pressed?

Share this post


Link to post
Share on other sites
1) GetAsyncKeyState doesnt support force feedback devices, joysticks/joypads, mice, etc etc. Prolly others that I cant think of... I only just woke up
2) Use buffered input if your missing events

Share this post


Link to post
Share on other sites