Archived

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

Keyboard Inputs

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

Can anyone suggest a method to gain keyboard inputs from multiple keys fast. The only method i have seen is switch/case statements which is only allowing 1 key at a time and to me seems a very poor method of input. Any help is appreciated! Thanks Chris

Share this post


Link to post
Share on other sites
Well I''m new to OpenGL but I''ve looked at nehe.gamedev.net and the way they get the keys in is really good. Make an array of booleans and when a key is pressed make it true, when a key is released make it false. Hope it helps.

Eric

Share this post


Link to post
Share on other sites