madrobby/keymaster — pull request #63 by mimshwright (2012-10-24 17:59:55+00:00)
Title: Added the ability to check if a key is down 

When developing games, it's very common to test whether a key is down in a loop rather than relying on key events. This commit adds two methods that let you check to see if a key is down, isKeyPressed() and getPressedKeyCodes().