Archived

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

DirectInput, Keyboard Input, and all those Constants!

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

When accepting input from the keyboard, is there anyway for me to know the value of the keys without making one giant function for finding the values of the key number?

Share this post


Link to post
Share on other sites
Make a matrix man, or a vector use DIK_ESC etc as index into it and get the plain ascii code from it... or place pointers to handler functions there

i guess this will avoid a monster switch case function

Share this post


Link to post
Share on other sites