Skip to main content
gamedev.net
🔒 Locked

Multiple keys using Windows API

Started by d000hg 0 replies 250+ views
Original Post
d000hg
d000hg
I need to be able to tell what keys are down in a windows app, using API stuff. Processing key messages can be too inaccurate as it takes up to 0.5s for this to register after releasing the keys. I''m currently using GetAsyncKeyState(), but if I press a key used by the app when another app has priority, when I go back to my app this keypress is acted on. I wondered if the normal GetKeyState would suffice?
Read about my game, project #1 NEW (9th September)diaries for week #5 Also I''m selling a few programming books very useful to games coders. Titles on my site.
John 3:16

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.