Jump to content
  • Advertisement


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


GetKeyState (or GetAsyncKeyState)

This topic is 5741 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

how can i use either of the above functions to tell whether or not a key is being pressed along with the shift, ctrl, or alt key? like say i need it so that F1 and shift+F1 do two different things, and i want them to be done in a function that uses GetKeyState (or even in the WinProc swithc thingy) to check which keys are being pressed (in a function that runs in an infinate loop)

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!