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:
Telling a programmer there’s already a library to do X is like telling a songwriter there’s already a song about love. — Pete Cordell