rewonc/mechkey — pull request #2 by sherwinyu (2014-10-25 00:25:55+00:00)
Title: Fix repeat sounds

Fixes #1.

Adds a `downKeys` array to keep track of which keys are already pressed down.
Changes `keyDown` handler to play sounds only when the key isn't already down.
Various style changes.