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:
Any fool can write code that a computer can understand. Good programmers write code that humans can understand. — Martin Fowler