2016-10-08 08:46:58 +08:00
|
|
|
Simple DirectMedia Layer {#mainpage}
|
|
|
|
========================
|
|
|
|
|
|
|
|
(SDL)
|
|
|
|
|
|
|
|
Version 2.0
|
|
|
|
|
|
|
|
---
|
|
|
|
http://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 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.
|
|
|
|
|
2022-03-16 00:25:01 +08:00
|
|
|
SDL officially supports Windows, macOS, Linux, iOS, and Android.
|
2016-10-08 08:46:58 +08:00
|
|
|
Support for other platforms may be found in the source code.
|
|
|
|
|
|
|
|
SDL is written in C, works natively with C++, and there are bindings
|
|
|
|
available for several other languages, including C# and Python.
|
|
|
|
|
|
|
|
This library is distributed under the zlib license, which can be found
|
2021-02-19 00:06:44 +08:00
|
|
|
in the file "LICENSE.txt".
|
2016-10-08 08:46:58 +08:00
|
|
|
|
|
|
|
The best way to learn how to use SDL is to check out the header files in
|
|
|
|
the "include" subdirectory and the programs in the "test" subdirectory.
|
|
|
|
The header files and test programs are well commented and always up to date.
|
|
|
|
|
2021-04-02 00:15:28 +08:00
|
|
|
More documentation and FAQs are available online at [the wiki](http://wiki.libsdl.org/)
|
2016-10-08 08:46:58 +08:00
|
|
|
|
|
|
|
- [Android](README-android.md)
|
|
|
|
- [CMake](README-cmake.md)
|
|
|
|
- [DirectFB](README-directfb.md)
|
|
|
|
- [DynAPI](README-dynapi.md)
|
|
|
|
- [Emscripten](README-emscripten.md)
|
|
|
|
- [Gesture](README-gesture.md)
|
2021-02-13 03:15:29 +08:00
|
|
|
- [Git](README-git.md)
|
2016-10-08 08:46:58 +08:00
|
|
|
- [iOS](README-ios.md)
|
|
|
|
- [Linux](README-linux.md)
|
2022-03-16 00:25:01 +08:00
|
|
|
- [macOS](README-macos.md)
|
2021-11-13 01:55:02 +08:00
|
|
|
- [OS/2](README-os2.md)
|
2016-10-08 08:46:58 +08:00
|
|
|
- [Native Client](README-nacl.md)
|
|
|
|
- [Pandora](README-pandora.md)
|
|
|
|
- [Supported Platforms](README-platforms.md)
|
|
|
|
- [Porting information](README-porting.md)
|
|
|
|
- [PSP](README-psp.md)
|
2022-06-06 05:52:53 +08:00
|
|
|
- [PS2](README-ps2.md)
|
2016-10-08 08:46:58 +08:00
|
|
|
- [Raspberry Pi](README-raspberrypi.md)
|
|
|
|
- [Touch](README-touch.md)
|
2022-05-04 23:39:05 +08:00
|
|
|
- [Versions](README-versions.md)
|
2016-10-08 08:46:58 +08:00
|
|
|
- [WinCE](README-wince.md)
|
|
|
|
- [Windows](README-windows.md)
|
|
|
|
- [WinRT](README-winrt.md)
|
2021-03-09 00:05:19 +08:00
|
|
|
- [PSVita](README-vita.md)
|
2022-05-03 23:51:49 +08:00
|
|
|
- [Nokia N-Gage](README-ngage.md)
|
2016-10-08 08:46:58 +08:00
|
|
|
|
|
|
|
If you need help with the library, or just want to discuss SDL related
|
2021-02-19 00:09:52 +08:00
|
|
|
issues, you can join the [SDL Discourse](https://discourse.libsdl.org/),
|
|
|
|
which can be used as a web forum or a mailing list, at your preference.
|
2016-10-08 08:46:58 +08:00
|
|
|
|
|
|
|
If you want to report bugs or contribute patches, please submit them to
|
2021-02-13 03:46:49 +08:00
|
|
|
[our bug tracker](https://github.com/libsdl-org/SDL/issues)
|
2016-10-08 08:46:58 +08:00
|
|
|
|
|
|
|
Enjoy!
|
|
|
|
|
|
|
|
|
|
|
|
Sam Lantinga <mailto:slouken@libsdl.org>
|