This is just implementation, so when you press a key that is a letter or number, it gets assigned to the variable. You can customize which keys are allowed in your program, but I did all of them for user convenience.
I did this because I was angry you couldn't do it any other way.