You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignore unknown keyCodes in library_sdl.js (#22920)
Prior to this change any unrecognized DOM keyCode would be directly
passed through with the DOM keyCode used as an SDL keycode.
This strange behavior is what allowed `test_sdl_key_proxy` to use SDL
key codes when generating new `KeyboardEvent`s. The number previously
hardcoded in the test (1248, 1249, 1250) correspond to (SDLK_LCTRL,
SDLK_LSHIFT, SDLK_LALT) but don't make any sense as DOM keyboard codes.
0 commit comments