Jump to content
  • Advertisement

Archived

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

DanG

wParam on WM_KEYDOWN acts wierd

This topic is 5818 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''m writing an app that uses Win32 C for the window and input. The thing is, my app is waiting for the ''w'' key to be pressed, but wParam never has this value. Through the debugger i saw that when i hit ''w'' on the keyboard, wParam has the value 87, ''W'' or capital ''w'' in ASCII. I checked for caps lock, shift, EVERYTHING, but I can''t get pressing the ''w'' key to get the ''w'' command (value 119). What is going on here? Does WM_KEYDOWN not use the ASCII character values?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
WM_KEYDOWN only uses upper case letters

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!