Jump to content
  • Advertisement
Sign in to follow this  
raydog

Keyboard input

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

Let's say I was creating text on bitmap, and I wanted to save memory by limiting to only creating the first 128 characters, ASCII range 0-128. Also, let's say I don't use any error checking. Can someone using a standard 101 keyboard type in a character outside this range ( > 128) ?

Share this post


Link to post
Share on other sites
Advertisement
Who cares? It's fairly trivial to check if a character is within a valid range, and proper error handling is a good habit.

Share this post


Link to post
Share on other sites
Anyways, the answer is yes. Assuming windows, you can use the alt key to enter unicode code numbers to theoretically input any character that the operating system can recognize.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!