No description
Find a file
Sam Lantinga 3bdfec9df0 Fixed bug 1781 - SDL sets an error for the initial touch on Android.
Philipp Wiesemann

SDL sets an error to be queried with SDL_GetError() for the initial touch on Android.

Android_OnTouch() in SDL_androidtouch.c uses SDL_GetTouch() to check if a touch device was already added. SDL_GetTouch() sets the error "Unknown touch device" for an out of range access because touch devices are added after initial touch. I think this error is confusing because it always happens by design.

I attached a patch which removes the call to SDL_GetTouch() and only uses SDL_AddTouch() which does the check (if already added) again and does not set an error (if not added yet).
2013-04-02 07:51:23 -07:00
acinclude We have to fix the DLL name convention on Windows every time... 2012-10-19 21:43:41 -07:00
android-project Backed out changeset: 9cef1005df5f 2013-04-01 13:20:22 -03:00
build-scripts Fix bug 1574 - updaterev.sh fails when path contains spaces 2013-03-10 16:28:20 -07:00
cmake Adds CMake build system by Marcus Von Appen (bug #1597) 2012-11-16 09:23:18 -03:00
debian We don't need no stinking pre-release version number! 2013-02-17 23:39:25 -08:00
include Fixed bug 1782 - SDL_opengl.h header disabled on FreeBSD 2013-04-01 23:15:21 -07:00
src Fixed bug 1781 - SDL sets an error for the initial touch on Android. 2013-04-02 07:51:23 -07:00
test Patched test apps to compile with C89 compilers (thanks, Axel!). 2013-03-29 21:21:48 -04:00
VisualC Reformat SDL_VS2010.sln so WindowsExplorer VS type detection works again 2013-03-13 09:14:45 -07:00
Xcode Make SDL support the X11 clipboard TARGETS protocol, which advertises what formats text is available in from the application. This is necessary for many Linux programs to interact well with the clipboard. 2013-03-22 11:42:31 -07:00
Xcode-iOS Removed Nintendo DS support since nobody has volunteered to maintain it for over a year. 2013-03-17 09:44:58 -07:00
.DISABLED-hgeol Disable .hgeol for now...it doesn't work well at the moment. 2011-01-20 11:51:23 -05:00
.hgignore Added new tests to the .hgignore file 2013-03-03 22:06:27 -08:00
.hgtags
.indent.pro
aclocal.m4 We have to fix the DLL name convention on Windows every time... 2012-10-19 21:43:41 -07:00
Android.mk Fixed bug 1606 - SDL does not implement SDL_GetPowerInfo() for Android. 2012-09-23 01:37:44 -07:00
autogen.sh SDL_revision.h is always updated as part of the build process now. 2011-02-28 09:06:15 -08:00
BUGS
CMakeLists.txt Replaced Gnome screensaver hack with D-Bus messages to org.gnome.ScreenSaver. 2012-12-28 03:46:55 -05:00
configure Fixed bug 1744 - DirectFB video and renderer API is not updated 2013-03-09 10:35:12 -08:00
configure.in Fixed bug 1744 - DirectFB video and renderer API is not updated 2013-03-09 10:35:12 -08:00
COPYING Happy New Year! 2013-02-15 08:47:44 -08:00
CREDITS Removed Nintendo DS support since nobody has volunteered to maintain it for over a year. 2013-03-17 09:44:58 -07:00
INSTALL Updated documentation with info about the wiki 2013-02-14 15:56:33 -08:00
Makefile.in The input API was never implemented, so removing it before release. 2013-02-19 05:39:19 -08:00
Makefile.minimal Made it possible to build SDL from a fresh checkout without any additional steps. 2011-02-16 02:37:09 -08:00
Makefile.pandora Removed /dev/dsp DMA audio target. 2011-07-24 03:37:13 -07:00
Makefile.psp Add PSP support 2013-03-17 20:07:02 +08:00
Makefile.wiz Removed /dev/dsp DMA audio target. 2011-07-24 03:37:13 -07:00
README Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README-SDL.txt Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README.android Fixed bug 1760 - Update README.android about local.properties 2013-03-19 22:15:07 -07:00
README.cmake Adds CMake build system by Marcus Von Appen (bug #1597) 2012-11-16 09:23:18 -03:00
README.DirectFB Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README.gesture Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README.HG Whitespace change in a README. 2011-01-22 03:57:27 -05:00
README.iOS Synchronized the on-screen keyboard state with whether we are accepting text input. 2012-11-04 21:53:28 -08:00
README.MacOSX Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README.pandora Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README.Platforms The Haiku port is being actively maintained by Axel Dörfler 2013-03-26 22:26:07 -07:00
README.Porting Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README.psp Add PSP support 2013-03-17 20:07:02 +08:00
README.touch Fixed bug 1748 - Patch for errors and mistakes in SDL 2 README files. 2013-03-10 09:03:38 -07:00
README.WinCE Removed Windows CE support from SDL 2.0. 2012-09-15 10:59:39 -04:00
sdl2-config.in Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2 2012-01-22 17:21:00 -05:00
sdl2.m4 Updated macro comment 2013-02-15 15:22:12 -08:00
sdl2.pc.in Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2 2012-01-22 17:21:00 -05:00
SDL2.spec.in Successfully built an SDL 2.0 RPM 2012-01-22 23:36:59 -05:00
TODO Test commit. Adding space to TODO.. 2012-10-11 09:44:59 -07:00
VisualC.html
WhatsNew

                         Simple DirectMedia Layer

                                  (SDL)

                                Version 2.0

---
http://www.libsdl.org/

This is the Simple DirectMedia Layer, a general API that provides low
level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
and 2D framebuffer across multiple platforms.

The current version supports Windows, Mac OS X, Linux, FreeBSD,
NetBSD, OpenBSD, BSD/OS, Solaris, iOS, and Android. The code contains
support for other operating systems but those are not officially supported.

SDL is written in C, but works with C++ natively, and has bindings to
several other languages, including Ada, C#, Eiffel, Erlang, Euphoria,
Go, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP,
Pike, Pliant, Python, Ruby, and Smalltalk.

This library is distributed under the zlib license, which can be found
in the file "COPYING".

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.
More documentation and FAQs are available online at:
	http://wiki.libsdl.org/

If you need help with the library, or just want to discuss SDL related
issues, you can join the developers mailing list:
	http://www.libsdl.org/mailing-list.php

Enjoy!
	Sam Lantinga				(slouken@libsdl.org)