Jump to content
  • Advertisement

Archived

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

how i can handle KeyDow events?

This topic is 5581 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I use VK_LEFT VK_RIGHT and so on for Arrow key handle, but if i want handle the keys: A, Z, SPACE, Ctrl, what i must use?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
The rest of the keys are just the normal ASCII codes for the key press itself. You can look these up on any ASCII chart for refrence. Do a google search for ASCII chart and HEX and you should find a good refrence.

Share this post


Link to post
Share on other sites
use (int)''A'' where A is the key you want



To be considered a genius you just have to say what everybody knows in a way very few understand

Share this post


Link to post
Share on other sites
ok i did! THX
but to handle "on key release" event how i can do?

[edited by - Link on February 7, 2003 6:11:27 PM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!