This seems like a cool little bit of code that some of you may want to add for your games. Not sure if it’s really necessary, but I wanted to post it to show it to you. It’s got some nice functionality for combination keys and so forth. You can find it at http://dmauro.github.io/Keypress/.
Random Quote:
First, solve the problem. Then, write the code — John Johnson