Sun, 20 Feb 2011 12:39:59 -0800Fixed compiling on Mac OS X 10.4
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 12:39:59 -0800] rev 5361
Fixed compiling on Mac OS X 10.4

Sun, 20 Feb 2011 10:54:44 -0800Simple rumble API for haptic
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 10:54:44 -0800] rev 5360
Simple rumble API for haptic

Edgar Simo 2011-02-20 10:27:52 PST

Adding patch that adds a simplified API for the haptic subsystem built ontop of
the "real one" for those who want simple rumble without jumping through hoops.

Adds 4 functions:

- extern DECLSPEC int SDLCALL SDL_HapticRumbleSupported(SDL_Haptic * haptic);
- extern DECLSPEC int SDLCALL SDL_HapticRumbleInit(SDL_Haptic * haptic);
- extern DECLSPEC int SDLCALL SDL_HapticRumblePlay(SDL_Haptic * haptic, float
strength, Uint32 length );
- extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic);

Also provided is test/testrumble.c which does test this.

This has all been tested on linux and has worked, but due to being built ontop
of the other haptic API it should work on all OS the same.

Sun, 20 Feb 2011 10:42:51 -0800Added a revision number for easy compile-time tests.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 10:42:51 -0800] rev 5359
Added a revision number for easy compile-time tests.

Sun, 20 Feb 2011 09:28:13 -0800Untested fix for bug 946 (SDL_HapticIndex returns 0 for all devices)
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 09:28:13 -0800] rev 5358
Untested fix for bug 946 (SDL_HapticIndex returns 0 for all devices)

Edgar Simo 2011-02-20 09:02:31 PST

Linux uses fname, which is the name of the device path like for example
/dev/input/event3 so it shouldn't have the issue. However I can confirm that it
looks like haptic->index never gets properly set on windows. Have to look at
mac os x also. I'll see if I can fix it real quick now.

Sun, 20 Feb 2011 09:24:02 -0800Reset the viewport since we're stretching to the entire window.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 09:24:02 -0800] rev 5357
Reset the viewport since we're stretching to the entire window.

Sat, 19 Feb 2011 23:39:04 -0800Linker and deployment target fixes for the test programs.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 23:39:04 -0800] rev 5356
Linker and deployment target fixes for the test programs.

Sat, 19 Feb 2011 21:51:21 -0800Added OpenGL state caching for decent speed improvement.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 21:51:21 -0800] rev 5355
Added OpenGL state caching for decent speed improvement.

Sat, 19 Feb 2011 21:51:03 -0800SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 21:51:03 -0800] rev 5354
SDL works on older iPod Touch and first generation iPhones running iOS 3.1.3.

Sat, 19 Feb 2011 21:35:35 -0800Fixed linking the demos
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 21:35:35 -0800] rev 5353
Fixed linking the demos

Sat, 19 Feb 2011 16:41:01 -0800Yes, it compiles now.
Sam Lantinga <slouken@libsdl.org> [Sat, 19 Feb 2011 16:41:01 -0800] rev 5352
Yes, it compiles now.