Dynamic usage code implemented and tested. This is only tested under Linux so far, but the code
should work the same on OS X builds. It builds fine against default system SDL 1.2, runs fine with haptic
disabled using default lib, and runs fine with haptic
enabled using modified lib.
Also, here is the
haptic patch for SDL 1.2. I'm posting it now to give a couple days head start on getting a new framework built before the game patch is released this weekend. Hopefully somebody will be able to take care of getting it built and ready for use. Do note that the Xcode project hasn't been updated in the patch, so please send me those changes so that I can include them in an updated patch later on.
New files to add to project:
include/SDL_haptic.hsrc/haptic/*src/joystick/darwin/SDL_sysjoystick_c.hsrc/joystick/linux/SDL_sysjoystick_c.hsrc/joystick/win32/SDL_dxjoystick_c.htest/testhaptic.cAnd be sure to add the ForceFeedback framework to the project as well.