Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 19:15:00 -0800] rev 5366
Updated the template code
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 14:59:36 -0800] rev 5365
Fixed the fireworks demo
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 14:22:27 -0800] rev 5364
Fixed bug 1137, updated the keyboard demo with latest rendering API changes.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 14:16:11 -0800] rev 5363
Fixed testgles on iOS (bug 1136)
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 13:56:57 -0800] rev 5362
Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 12:39:59 -0800] rev 5361
Fixed compiling on Mac OS X 10.4
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.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Feb 2011 10:42:51 -0800] rev 5359
Added a revision number for easy compile-time tests.
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.
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.