Registe key event on Mac & Windows.
Merge pull request #28 from natural-law/ludum-dare

Register key event on Mac & Windows.