| 1 | |
| 2 | Simple DirectMedia Layer |
| 3 | |
| 4 | (SDL) |
| 5 | |
| 6 | Version 1.2 |
| 7 | |
| 8 | --- |
| 9 | http://www.libsdl.org/ |
| 10 | |
| 11 | This is the Simple DirectMedia Layer, a general API that provides low |
| 12 | level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, |
| 13 | and 2D framebuffer across multiple platforms. |
| 14 | |
| 15 | The current version supports Linux, Windows CE/95/98/ME/XP/Vista, BeOS, |
| 16 | MacOS Classic, Mac OS X, FreeBSD, NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, |
| 17 | and QNX. The code contains support for Dreamcast, Atari, AIX, OSF/Tru64, |
| 18 | RISC OS, SymbianOS, Nintendo DS, and OS/2, but these are not officially |
| 19 | supported. |
| 20 | |
| 21 | SDL is written in C, but works with C++ natively, and has bindings to |
| 22 | several other languages, including Ada, C#, Eiffel, Erlang, Euphoria, |
| 23 | Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, |
| 24 | Pike, Pliant, Python, Ruby, and Smalltalk. |
| 25 | |
| 26 | This library is distributed under GNU LGPL version 2, which can be |
| 27 | found in the file "COPYING". This license allows you to use SDL |
| 28 | freely in commercial programs as long as you link with the dynamic |
| 29 | library. |
| 30 | |
| 31 | The best way to learn how to use SDL is to check out the header files in |
| 32 | the "include" subdirectory and the programs in the "test" subdirectory. |
| 33 | The header files and test programs are well commented and always up to date. |
| 34 | More documentation is available in HTML format in "docs/index.html", and |
| 35 | a documentation wiki is available online at: |
| 36 | http://www.libsdl.org/cgi/docwiki.cgi |
| 37 | |
| 38 | The test programs in the "test" subdirectory are in the public domain. |
| 39 | |
| 40 | Frequently asked questions are answered online: |
| 41 | http://www.libsdl.org/faq.php |
| 42 | |
| 43 | If you need help with the library, or just want to discuss SDL related |
| 44 | issues, you can join the developers mailing list: |
| 45 | http://www.libsdl.org/mailing-list.php |
| 46 | |
| 47 | Enjoy! |
| 48 | Sam Lantinga (slouken@libsdl.org) |
| 49 | |