Go to file
Sam Lantinga c298a3749b Expose the keymap separately from the event keycode
This adds functions to query the keymap:
* SDL_GetCurrentKeymap()
* SDL_GetKeymapKeycode()
* SDL_GetKeymapScancode()
* SDL_ReleaseKeymap()

and these are distinct from the function to query the event keycode associated with a scancode, which might be affected by SDL_HINT_KEYCODE_OPTIONS.

Also added an SDL_bool parameter to SDL_GetKeyName() and SDL_GetKeyFromName() to enable upper case handling of the name.
2024-08-05 17:02:25 -07:00
.github msbuild: add TreatWarningAsError property, and enable it on ci 2024-08-04 21:23:25 +02:00
VisualC VisualC: add testdialog project 2024-08-05 00:07:15 +02:00
VisualC-GDK msbuild: add TreatWarningAsError property, and enable it on ci 2024-08-04 21:23:25 +02:00
VisualC-WinRT msbuild: add TreatWarningAsError property, and enable it on ci 2024-08-04 21:23:25 +02:00
Xcode Updated Xcode project for SDL_GetWindowFromEvent() 2024-08-02 20:38:50 -07:00
android-project Remove `createSDLMainRunnable()` in favour of `main()` to fix multiple issues when providing custom main/runnable code (#10434) 2024-08-03 06:34:38 -07:00
build-scripts ci: add GDK 2024-08-04 13:07:32 +00:00
cmake cmake: Remove HAVE_D3D12_H from sources and introduce SDL_RENDER_D3D(11|12) 2024-08-01 17:49:02 +00:00
docs Added SDL_SetLogPriorityPrefix() 2024-08-05 09:02:50 -07:00
examples examples: Split up description text by line breaks. 2024-07-30 15:37:46 -04:00
include Expose the keymap separately from the event keycode 2024-08-05 17:02:25 -07:00
src Expose the keymap separately from the event keycode 2024-08-05 17:02:25 -07:00
test Expose the keymap separately from the event keycode 2024-08-05 17:02:25 -07:00
wayland-protocols video: Expose HDR metadata per-window 2024-06-20 15:55:07 -04:00
.clang-format Add 'wl_list_for_each_safe' to the clang-format macro list 2024-03-14 10:22:23 -04:00
.clang-tidy
.editorconfig .editorconfig: Remove excess apostrophe at *.cocci 2024-06-16 09:18:17 -07:00
.gitignore ci: add GDK 2024-08-04 13:07:32 +00:00
.wikiheaders-options wikiheaders: bridge wiki Category docs to the headers! 2024-05-16 11:48:23 -04:00
Android.mk Create a functional CMake project using androidbuild.sh 2024-06-18 00:11:44 +02:00
BUGS.txt
CMakeLists.txt cmake: Remove HAVE_D3D12_H from sources and introduce SDL_RENDER_D3D(11|12) 2024-08-01 17:49:02 +00:00
CREDITS.md docs: Moved CREDITS and INSTALL to markdown format. 2023-11-29 12:31:27 -05:00
INSTALL.md Updated INSTALL.md 2024-04-10 09:18:42 -04:00
LICENSE.txt Updated copyright for 2024 2024-01-01 13:15:26 -08:00
README-SDL.txt
README.md Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00
WhatsNew.txt audio: Refer to audio devices to "playback" and "recording". 2024-06-15 01:08:12 -04:00

README.md

Simple DirectMedia Layer (SDL) Version 3.0

https://www.libsdl.org/

Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware. 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. If you are migrating to SDL 3.0 from SDL 2.0, the changes are extensively documented in README-migration.md.

Enjoy!

Sam Lantinga (slouken@libsdl.org)