commit | 04cce6bb5fffe56b318242c0449d0c89498593da | [log] [tgz] |
---|---|---|
author | Charlie Birks <charlie@daft.games> | Fri Jul 19 11:19:59 2024 +0100 |
committer | GitHub <noreply@github.com> | Fri Jul 19 11:19:59 2024 +0100 |
tree | 29a495bc9d3aeec5d28279b6e3342b0331dc5f04 | |
parent | 5ab1151508ef514b9c5f944da8fc1f3dd6ea0558 [diff] |
emscripten: restore key event prevent default behaviour This restores the behaviour before 92215481146f9225a458e9a09abb85a33b52d9ff where we only preventDefault the event if: - the key is recognised - the event is enabled - the event is not filtered (ignoring the KEYPRESS special case, which is unchanged)
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md
Enjoy!
Sam Lantinga (slouken@libsdl.org)