If want to support the SDL-1.2, then the test code `SDL_GetKeyState` will be required. However, SDL-1.3 and SDL-1.2 can not co-exist. The current Emscripten adopted the SDL-1.3. `SDL_GetKeyState` is obsolete in SDL-1.3, `SDL_GetKeyboardState` was introduced instead. 

At the time of the integration of the SDL-1.3 to Emscripten, the test could not compile, maybe. However, Emscripten side was not support on the new SDL-1.3 SDL_GetKeyboardState specifications still at that time too. The function SDL_GetKeyboardState before fix #2297 was based on the SDL-KeyCode that behavior was buggy compared to the SDL-1.3 specification. Threfore, the test code is been tentatively dealt with by simply `#define` replacing and it running at the time.

However, in current, Emscripten's SDL-1.3 function `SDL_GetKeyboardState` behavior were also fixed to based on SDL-ScanCode correctly on the SDL-1.3 (or later) specification at #2297. Thus, the test code should also be modified so that match the test code based on the specification too.