Guest Jayenkai Posted February 25, 2004 Report Posted February 25, 2004 I'm new to this C++ Stuff, and even newer to the SPV, but I'm giving it a go. I've got most of my game up and running, but I can't figure out this key stuff.. I've got it grabbing keypresses (VK_Up, etc) but what's happening is that the keypresses are getting shoved into a buffer, then they're all happening all at once. Isn't there a better way to work with the keys? Say, to test if a single key is pressed in? I can work with that!!! If not, can anyone manage to take a guess as to what it is I'm doing wrong, and possibly suggest how to fix it...? Thanks
Guest maxh2003 Posted February 27, 2004 Report Posted February 27, 2004 You can use GetAsyncKeyState(int vKey) to read the current state of any key... does that help?
Guest Jayenkai Posted February 27, 2004 Report Posted February 27, 2004 Yeah, but I managed it the other day.. Sorry, should've followed up!
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now