Sat, 10 Aug 2013 23:14:20 +0200Removed SDL_HAPTIC_SQUARE from comments in header to prevent doxygen confusion.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 10 Aug 2013 23:14:20 +0200] rev 7630
Removed SDL_HAPTIC_SQUARE from comments in header to prevent doxygen confusion.

Sat, 10 Aug 2013 23:07:28 +0200Corrected comment in test program.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 10 Aug 2013 23:07:28 +0200] rev 7629
Corrected comment in test program.

Sat, 10 Aug 2013 11:19:30 -0700Fixed bug 1925 - SDL_GetPerformanceFrequency returns incorrect value on iOS
Sam Lantinga <slouken@libsdl.org> [Sat, 10 Aug 2013 11:19:30 -0700] rev 7628
Fixed bug 1925 - SDL_GetPerformanceFrequency returns incorrect value on iOS

PoopiSan

Currently on OSX and iOS simulator the values:
mach_base_info.denom = 1
mach_base_info.numer = 1

but on the real iOS device
mach_base_info.denom = 3
mach_base_info.numer = 125

The calculation is made using following formula
mach_base_info.denom / mach_base_info.numer * 1000000

but all values are int32 and the result is casted to int64.

This solves the problem:

return 1.0 * mach_base_info.denom / mach_base_info.numer * 1000000;

Sat, 10 Aug 2013 10:57:54 -0700Fixed whitespace
Sam Lantinga <slouken@libsdl.org> [Sat, 10 Aug 2013 10:57:54 -0700] rev 7627
Fixed whitespace

Sat, 10 Aug 2013 10:55:12 -0700Fixed bug 2024 - Update OSX Joystick code to fully support Saitek p2500 gamepad
Sam Lantinga <slouken@libsdl.org> [Sat, 10 Aug 2013 10:55:12 -0700] rev 7626
Fixed bug 2024 - Update OSX Joystick code to fully support Saitek p2500 gamepad

Patrick Maloney

Saitek p2500 (Cyborg Rumble Force Pad) has a D-pad, two analog sticks, and numerous buttons. SDL 2.x on OSX detected everything except the right-side analog stick. The right-side stick is considered a 'simulation device' with the axes mapped to throttle and rudder.

The patch adds support for throttle and rudder on the HID simulation page.

Sat, 10 Aug 2013 10:54:03 -0700Fixed bug 2025 - Update 1.2 OSX Joystick code to fully support Saitek p2500 gamepad SDL-1.2
Sam Lantinga <slouken@libsdl.org> [Sat, 10 Aug 2013 10:54:03 -0700] rev 7625
Fixed bug 2025 - Update 1.2 OSX Joystick code to fully support Saitek p2500 gamepad

Patrick Maloney

Saitek p2500 (Cyborg Rumble Force Pad) has a D-pad, two analog sticks, and numerous buttons. SDL 2.x on OSX detected everything except the right-side analog stick. The right-side stick is considered a 'simulation device' with the axes mapped to throttle and rudder.

The patch adds support for throttle and rudder on the HID simulation page.

Sat, 10 Aug 2013 10:49:26 -0700Check the return value of glGenTextures()
Sam Lantinga <slouken@libsdl.org> [Sat, 10 Aug 2013 10:49:26 -0700] rev 7624
Check the return value of glGenTextures()

Sat, 10 Aug 2013 13:46:19 -0400Haptic: Let XInput update effects while they're still running.
Ryan C. Gordon <icculus@icculus.org> [Sat, 10 Aug 2013 13:46:19 -0400] rev 7623
Haptic: Let XInput update effects while they're still running.

Sat, 10 Aug 2013 13:40:08 -0400Removed no-longer-necessary comment.
Ryan C. Gordon <icculus@icculus.org> [Sat, 10 Aug 2013 13:40:08 -0400] rev 7622
Removed no-longer-necessary comment.

Sat, 10 Aug 2013 13:38:09 -0400Replaced SDL_HAPTIC_SQUARE with SDL_HAPTIC_LEFTRIGHT.
Ryan C. Gordon <icculus@icculus.org> [Sat, 10 Aug 2013 13:38:09 -0400] rev 7621
Replaced SDL_HAPTIC_SQUARE with SDL_HAPTIC_LEFTRIGHT.

We needed a bit, so we're hoping no one needs this effect, especially when
it's fairly close to SDL_HAPTIC_SINE, we hope.

SDL_HAPTIC_LEFTRIGHT maps to XInput's functionality, so this removes the SINE
code for the XInput driver to keep things clean.

This also makes the simplified Rumble API use SDL_HAPTIC_LEFTRIGHT if
SDL_HAPTIC_SINE isn't available, to keep XInput working.

When we break the ABI, and can extend the supported capabilities field from
a Uint16, we'll add SDL_HAPTIC_SQUARE back in.

This patch is based on work by Ethan Lee.