photonstorm/phaser — pull request #1321 by pjbaron (2014-11-13 05:37:36+00:00)
Title: justDown property indicates if a key has been newly pressed since last time you checked

Added justDown access to _justDown internal boolean. Records whether the key has been newly pressed since the last time it was checked. Resets to false only when it is read. Used for anything that needs to know when a key is first pressed with no autorepeat, without using closures or callbacks.
Possible alternative names for the property would be: newDown, or newPress