kripken/emscripten — pull request #2307 by guillaumeblanc (2014-04-22 11:58:36+00:00)
Title: Fixes glfwGetKey that always returns 0 if no callback is set with glfwSe...

...tKeyCallback; fixes #1320

This change was tested with a modified tests/glfw.c file. I didn't managed to run the unit tests in order to automate it. As suggested in the bug comment, something like sdl_key test would be a good indeed.