Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Nobody will EVER use more than 8 buttons. Oh wait... Nobody will EVER…

… use more than 32 buttons...
  • Loading branch information
slouken committed Nov 12, 2012
0 parents commit 162c6a54852d19c80f94d21edb3329a8a5214157
Showing 1,068 changed files with 362,968 additions and 0 deletions.
@@ -0,0 +1,57 @@
[patterns]
.hgeol = native
.hgignore = native
BUGS = native
CREDITS = native
INSTALL = native
NOTES = native
TODO = native
WhatsNew = native
**COPYING = native
**README = native
**doxyfile = native
**Doxyfile = native
**install-sh = LF
**mkinstalldirs = LF
**Makefile = LF
**Makefile.* = LF
test/automated/rwops/read = LF
**README.* = native
**.S = native
**.bmp = BIN
**.c = native
**.cc = native
**.cpp = native
**.csh = LF
**.dat = BIN
**.gdbinit = LF
build-scripts/config.guess = LF
**.h = native
**.htm = native
**.html = native
**.icns = BIN
**.in = LF
**.java = native
**.m = native
**.m4 = native
**.mk = LF
**.nib = BIN
**.pch = BIN
**.pdf = BIN
**.pl = native
**.plist = native
**.png = BIN
.indent.pro = LF
**.rc = native
**.rtf = BIN
**.sh = LF
**.sln = native
**.txt = native
**.vcp = native
**.vcproj = native
**.vcw = native
**.vcxproj = native
**.wav = BIN
**.xbm = BIN
**.xml = native
**.zip = BIN
@@ -0,0 +1,83 @@
syntax:glob
.svn
autom4te*
config.cache
config.log
config.status
Makefile
sdl-config
SDL2.spec
build

# for Xcode
*.orig
*.swp
*.tmp
*.rej
*~
*.o
*.mode1*
*.model*
*.perspective*
*.perspective*
*.pbxuser
(^|/)build($|/)
.DS_Store

# for Visual C++
Debug
Release
*.user
*.ncb
*.suo

sdl.pc
test/autom4te*
test/config.cache
test/config.log
test/config.status
test/Makefile
test/SDL2.dll
test/checkkeys
test/loopwave
test/testatomic
test/testaudioinfo
test/testdraw2
test/testerror
test/testfile
test/testgesture
test/testgl2
test/testgles
test/testhaptic
test/testiconv
test/testime
test/testintersections
test/testjoystick
test/testkeys
test/testloadso
test/testlock
test/testmessage
test/testmultiaudio
test/testnative
test/testoverlay2
test/testplatform
test/testpower
test/testrelative
test/testrendercopyex
test/testrendertarget
test/testresample
test/testrumble
test/testscale
test/testsem
test/testshader
test/testshape
test/testsprite2
test/testspriteminimal
test/teststreaming
test/testthread
test/testtimer
test/testver
test/testwm2
test/torturethread
test/*.exe
test/*.dSYM
@@ -0,0 +1 @@
-i4 -nut -nsc -br -ce -cdw -npcs
@@ -0,0 +1,47 @@
LOCAL_PATH := $(call my-dir)

###########################
#
# SDL shared library
#
###########################

include $(CLEAR_VARS)

LOCAL_MODULE := SDL2

LOCAL_C_INCLUDES := $(LOCAL_PATH)/include

LOCAL_SRC_FILES := \
$(subst $(LOCAL_PATH)/,, \
$(wildcard $(LOCAL_PATH)/src/*.c) \
$(wildcard $(LOCAL_PATH)/src/audio/*.c) \
$(wildcard $(LOCAL_PATH)/src/audio/android/*.c) \
$(wildcard $(LOCAL_PATH)/src/audio/dummy/*.c) \
$(LOCAL_PATH)/src/atomic/SDL_atomic.c \
$(LOCAL_PATH)/src/atomic/SDL_spinlock.c.arm \
$(wildcard $(LOCAL_PATH)/src/core/android/*.cpp) \
$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
$(wildcard $(LOCAL_PATH)/src/events/*.c) \
$(wildcard $(LOCAL_PATH)/src/file/*.c) \
$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
$(wildcard $(LOCAL_PATH)/src/haptic/dummy/*.c) \
$(wildcard $(LOCAL_PATH)/src/joystick/*.c) \
$(wildcard $(LOCAL_PATH)/src/joystick/android/*.c) \
$(wildcard $(LOCAL_PATH)/src/loadso/dlopen/*.c) \
$(wildcard $(LOCAL_PATH)/src/power/*.c) \
$(wildcard $(LOCAL_PATH)/src/power/android/*.c) \
$(wildcard $(LOCAL_PATH)/src/render/*.c) \
$(wildcard $(LOCAL_PATH)/src/render/*/*.c) \
$(wildcard $(LOCAL_PATH)/src/stdlib/*.c) \
$(wildcard $(LOCAL_PATH)/src/thread/*.c) \
$(wildcard $(LOCAL_PATH)/src/thread/pthread/*.c) \
$(wildcard $(LOCAL_PATH)/src/timer/*.c) \
$(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \
$(wildcard $(LOCAL_PATH)/src/video/*.c) \
$(wildcard $(LOCAL_PATH)/src/video/android/*.c))

LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES
LOCAL_LDLIBS := -ldl -lGLESv1_CM -lGLESv2 -llog

include $(BUILD_SHARED_LIBRARY)
18 BUGS
@@ -0,0 +1,18 @@

Bugs are now managed in the SDL bug tracker, here:

http://bugzilla.libsdl.org/

You may report bugs there, and search to see if a given issue has already
been reported, discussed, and maybe even fixed.



You may also find help at the SDL mailing list. Subscription information:

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Bug reports are welcome here, but we really appreciate if you use Bugzilla, as
bugs discussed on the mailing list may be forgotten or missed.


19 COPYING
@@ -0,0 +1,19 @@

Simple DirectMedia Layer
Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>

This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.

Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
73 CREDITS
@@ -0,0 +1,73 @@

Simple DirectMedia Layer CREDITS
Thanks to everyone who made this possible, including:

* Cliff Matthews, for giving me a reason to start this project. :)
-- Executor rocks! *grin*

* The Linux Fund, C Magazine, Educational Technology Resources Inc.,
Gareth Noyce, Jesse Pavel, Keith Kitchin, Jeremy Horvath, Thomas Nicholson,
Hans-Peter Gygax, the Eternal Lands Development Team, Lars Brubaker,
and Phoenix Kokido for financial contributions

* Edgar "bobbens" Simo for his force feedback API development during the
Google Summer of Code 2008

* Aaron Wishnick for his work on audio resampling and pitch shifting during
the Google Summer of Code 2008

* Holmes Futrell for port of SDL to the iPhone and iPod Touch during the
Google Summer of Code 2008

* Darren Alton for port of SDL to the Nintendo DS during the Google Summer
of Code 2008

* Szymon "Wilku" Wilczek for adding support for multiple mice and tablets
during the Google Summer of Code 2008

* Marty Leisner, Andrew, Will, Edgar Simo, Donny Viszneki, Andrea Mazzoleni,
Dmytro Bogovych, and Couriersud for helping find SDL 1.3 bugs in the great
SDL Bug Hunt of January 2009!

* Donny Viszneki for helping fix SDL 1.3 bugs in the great SDL Bug Hunt of
January 2009!

* Luke Benstead for OpenGL 3.0 support

* Ga�tan de Menten for writing the PHP and SQL behind the SDL website

* Tim Jones for the new look of the SDL website

* Ryan Gordon for helping everybody out and keeping the dream alive. :)

* Mattias Engdeg�rd, for help with the Solaris port and lots of other help

* Eric Wing, Max Horn, and Darrell Walisser for unflagging work on the Mac OS X port

* David Carr�, for the Pandora port

* Couriersud for the DirectFB driver

* Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation

* Arne Claus, for the 2004 winning SDL logo,
and Shandy Brown, Jac, Alex Lyman, Mikkel Gjoel, #Guy, Jonas Hartmann,
Daniel Liljeberg, Ronald Sowa, DocD, Pekka Jaervinen, Patrick Avella,
Erkki Kontilla, Levon Gavalian, Hal Emerich, David Wiktorsson,
S. Schury and F. Hufsky, Ciska de Ruyver, Shredweat, Tyler Montbriand,
Martin Andersson, Merlyn Wysard, Fernando Ibanez, David Miller,
Andre Bommele, lovesby.com, Francisco Camenforte Torres, and David Igreja
for other logo entries.

* Bob Pendleton and David Olofson for being long time contributors to
the SDL mailing list.

* Everybody at Loki Software, Inc. for their great contributions!

And a big hand to everyone else who gave me appreciation, advice,
and suggestions, especially the good folks on the SDL mailing list.

THANKS! :)

-- Sam Lantinga <slouken@libsdl.org>

27 INSTALL
@@ -0,0 +1,27 @@

To compile and install SDL:

0. If you have downloaded this from the website, skip to the next step.
If you have checked this out from subversion, you'll need to run
./autogen.sh to build the configure script.

1. Run './configure; make; make install'

If you are compiling for Windows using gcc, read the FAQ at:
http://www.libsdl.org/faq.php?action=listentries&category=4#42

If you are compiling using Visual C++ on Win32, you should read
the file VisualC.html

2. Look at the example programs in ./test, and check out the HTML
documentation in ./docs to see how to use the SDL library.

3. Join the SDL developer mailing list by sending E-mail to
sdl-request@libsdl.org
and put "subscribe" in the subject of the message.

Or alternatively you can use the web interface:
http://www.libsdl.org/mailing-list.php

That's it!
Sam Lantinga <slouken@libsdl.org>

0 comments on commit 162c6a5

Please sign in to comment.