Gamepad vibration on a mac
Hi all,
I'm building an arcade game for the Mac, and I want to use either a PS2 dualshock controller connected through a PS2->USB connector or Logitech's RumblePad II.
I'd like to cause one of the gamepads to vibrate according to game events, but I couldn't find information on the web on how to do that. (other than some mentions of a framework called "Immersion").
Eventually, I would like to use this from within actionscript 3, but finding a way to do this with cocoa would be a good start.
Anyone with any clues?
Thanks,
Guy.
I'm building an arcade game for the Mac, and I want to use either a PS2 dualshock controller connected through a PS2->USB connector or Logitech's RumblePad II.
I'd like to cause one of the gamepads to vibrate according to game events, but I couldn't find information on the web on how to do that. (other than some mentions of a framework called "Immersion").
Eventually, I would like to use this from within actionscript 3, but finding a way to do this with cocoa would be a good start.
Anyone with any clues?
Thanks,
Guy.
Check out the ForceFeedback.framework. I have no idea if it'll work with a PS2 controller, but if anything will it's that.
http://developer.apple.com/documentation...index.html
http://developer.apple.com/documentation...index.html

