LeedsJs/jackdaw — pull request #16 by Abe404 (2012-01-29 21:35:44+00:00)
Title: fixing chrome keyboard controls

keyboard control was not working in chromium

the keydown event kept firing while the key was down. Key up was only removing one instance of key from the array of keys down so even after key up event the key would still be registered as down.

I am not sure what is causing this but I have changed the addKeyDown function to prevent it from registering a key down more than once.