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:
(…) Thinking this way will teach you two things about computers: One, there’s no magic, no matter how much it looks like there is. There’s just work to make things look like magic. And two, it’s crazy in there. — Paul Ford