Gamepad vibration on a mac

Nibbie
Posts: 1
Joined: 2009.03
Post: #1
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.
Quote this message in a reply
Member
Posts: 268
Joined: 2005.04
Post: #2
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
Quote this message in a reply
Post Reply