mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-25 08:01:38 +00:00
e64034952b2a8f8356895b56aa06645382395a18
Backport the keyboard handling approach from SDL3 (commit
109f268972).
Avoid using deprecated keyEvent->keyCode, charCode, and the
emscripten_keycode_table. Instead decode UTF-8 keyEvent->key to
determine the keycode and text input.
Simple DirectMedia Layer (SDL) Version 2.0
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)
Languages
C
87.6%
C++
4.4%
Objective-C
3.4%
CMake
1.7%
Java
0.7%
Other
1.9%