Is there any way to determine what key was pressed? Basically, what I want to do is this...
where keypress is the key that was pressed. I am only interested in alpha numeric keys, so I know I can do this by mapping the A key to "A" in the input preferences, etc... and a total of 36 if checks for all possible alpha numeric keys, but it seems there should be an easier way to do this.
So far I haven't come up with anything :(
Any help would be appreciated.
asked May 16 '10 at 10:38 PM