blackberry/GamePlay — pull request #438 by bslack (2012-09-30 18:28:18+00:00)
Title: Next

NOTE: This is for PS3 support. Though it should work with ANY gamepad there is NO button mapping. So even an XBox 360 controller might be have oddly.

Also, did not test trigger support. Trigger support at this time also requires some hard coding. There is a good example of this with the PS3 controller in the initializeGamepad (or some similar function name) in the OSXGamepad object of associating a trigger with a button. The hard coding comes into play as the trigger and tthe button itself cannot be associated easily. Further, it is tricky to identify triggers. Indeed, they showed up as Misc objects and there are over 40 so it was trial/error. Also the racing game did not appear to support Triggers so I have not tested them. However buttons and axis work.