Emscripten: Fixed wrong source comment and updated web link.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 16 May 2015 21:15:27 +0200
changeset 9601 4c65108b7ac3
parent 9600 d52c2129c9ac
child 9602 3c3800abc52f
Emscripten: Fixed wrong source comment and updated web link.
src/video/emscripten/SDL_emscriptenevents.c
--- a/src/video/emscripten/SDL_emscriptenevents.c	Sat May 16 12:05:42 2015 -0300
+++ b/src/video/emscripten/SDL_emscriptenevents.c	Sat May 16 21:15:27 2015 +0200
@@ -38,8 +38,9 @@
 #define FULLSCREEN_MASK ( SDL_WINDOW_FULLSCREEN_DESKTOP | SDL_WINDOW_FULLSCREEN )
 
 /*
-.which to scancode
-https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent#Constants
+.keyCode to scancode
+https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent
+https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
 */
 static const SDL_Scancode emscripten_scancode_table[] = {
     /*  0 */    SDL_SCANCODE_UNKNOWN,