iDevGames Forums
Gamepad vibration on a mac - Printable Version

+- iDevGames Forums (
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Programming Languages & Scripting (/forum-8.html)
+--- Thread: Gamepad vibration on a mac (/thread-1578.html)

Gamepad vibration on a mac - kababonim - Mar 20, 2009 06:06 PM

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?


Gamepad vibration on a mac - Bachus - Mar 20, 2009 08:57 PM

Check out the ForceFeedback.framework. I have no idea if it'll work with a PS2 controller, but if anything will it's that.