Haptics on OS X 10.6.8 issues

Hi,

I’ve been attempting to use the SDL haptics interface with a wireless Xbox
360 controller. Currently in the testhaptics application the
call FFDeviceCreateEffect in SDL_syshaptic.c appears to be where the
problem first arises.

The output of haptictest is as follows:

1 Haptic devices detected.
Feedback: Initialising…dd
Device: Wireless 360 Controller
Supported effects [256 effects, 1 playing]:
sine
square
triangle
sawtoothup
sawtoothdown
Supported capabilities:
gain
autocenter
status

Uploading effects
effect 0: Sine Wave
UPLOADING EFFECT ERROR: Haptic: Unable to create effect: function call
unsupported.

If anyone successfully has other force feedback devices working in OS X or
is in possession of some of the old sample code that belonged to either
Apple or immersion this could be very useful. I am willing to both test
possible solutions and attempt to fix the OS X haptic interface in SDL or
xbox 360 controller driver (or both) but currently I am stuck due to the
lack of a working example. All the examples that I can find using an xbox
360 controller use the driver escape functionality of the FF api.

I do possess an old racing game, “Jammin Racer 1.5” that appears to use the
FF api to send force feedback commands to the 360 controller but I have no
source code for that.

thanks,

Aaron