Simple Directmedia Layer
Go to file
Ozkan Sezer b2fca55e5c SDL_x11sym.h: corrected XQueryKeymap() proto.
Noticed this in SDL-1.2 in a gcc-13 build, which emitted the following
warning:  (No such warnings in SDL2 and SDL3, due to macro differences)

./src/video/x11/SDL_x11sym.h:84:48: warning: argument 2 of type 'char *' declared as a pointer [-Warray-parameter=]
   84 | SDL_X11_SYM(int,XQueryKeymap,(Display* a,char *b),(a,b),return)
      |                                          ~~~~~~^
./src/video/x11/SDL_x11dyn.c:95:15: note: in definition of macro 'SDL_X11_SYM'
   95 |         rc fn params { ret p##fn args ; }
      |               ^~~~~~
In file included from ./src/video/x11/SDL_x11dyn.h:27,
                 from ./src/video/x11/SDL_x11dyn.c:26:
/usr/include/X11/Xlib.h:2980:5: note: previously declared as an array 'char[32]'
 2980 |     char [32]           /* keys_return */
      |     ^~~~~~~~~

The original actually was char[32] but was changed with
8ada1e8a6e
(https://bugzilla.libsdl.org/show_bug.cgi?id=170
https://github.com/libsdl-org/SDL-1.2/issues/101)
2024-05-10 18:50:10 +03:00
.github ci: disable building docs on mingw32/clang32 2024-05-07 22:35:31 +02:00
android-project Android: Implement open and save file dialog. 2024-05-06 09:33:48 -07:00
build-scripts Renamed SDL_AttachVirtualJoystickEx() to SDL_AttachVirtualJoystick() 2024-05-09 14:05:58 -07:00
cmake camera: add PipeWire camera support 2024-05-09 13:19:27 -07:00
docs Renamed SDL_AttachVirtualJoystickEx() to SDL_AttachVirtualJoystick() 2024-05-09 14:05:58 -07:00
include Sync SDL3 wiki -> header 2024-05-10 14:30:13 +00:00
mingw/pkg-support mingw: add pkg-support files (INSTALL.txt and Makefile) 2024-03-23 21:41:20 +01:00
src SDL_x11sym.h: corrected XQueryKeymap() proto. 2024-05-10 18:50:10 +03:00
test Added ball, touchpad, and sensor support for virtual joysticks 2024-05-09 18:25:22 -07:00
VisualC include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
VisualC-GDK Fixed building with GDK (thanks @Romans-I-XVI!) 2024-04-30 10:22:56 -07:00
VisualC-WinRT include: Removed SDL_quit.h 2024-04-15 11:35:39 -04:00
wayland-protocols Add support for modal windows to more platforms 2024-04-30 13:47:57 -04:00
Xcode ci: fix dmg release artifacts 2024-05-05 01:30:07 +02: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
.gitignore .gitignore: Adding compile_commands.json and .cache/ 2024-04-26 08:48:22 -07:00
.wikiheaders-options wikiheaders-options: Correct project full name. 2024-04-30 21:46:56 -04:00
Android.mk Android: Implement open and save file dialog. 2024-05-06 09:33:48 -07:00
BUGS.txt
CMakeLists.txt cmake: add khronos include directories with PRIVATE visibility 2024-05-07 17:37:21 +02: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 Tweaking documentation for the SDL 3.0 preview release 2024-03-24 06:16:02 -07:00

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)