Jump to content
  • Advertisement
Sign in to follow this  

ASCII code for CTRL ??

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

hi, simple question. is there an ASCII code the the CTRL key? either left or right, or both would be fine. i cant seem to find this on any of the ascii tables ive looked at, including asciitable.com. google and this forum's search dont seem to help either.thanks for any help.

Share this post


Link to post
Share on other sites
Advertisement
No, there isn't. Ctrl is one of the modifier keys on the keyboard, along with Shift and Alt. When depressed, they alter the scan code generated by "regular keys". They do have scan codes of their own, though.

Obviously, scan codes are not ASCII codes. ASCII is concerned with printable and print control characters only. Ctrl is meaningless in an output context. There's no ASCII code for Shift either.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!