PS2_Wrapper

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: Kristian Charboneau, created: 2013-04-12 | updated: 2013-10-12

PS2_Wrapper provides a simple spin interface around Juan Carlos Orozco's Play Station 2 Controller driver. Each button has its own method which returns 1 or 0 and each joystick axis has its own method which returns a decimal (0 to 255). Object can now detect multiple buttons within same group being pressed at the same time. Also added a stop routine. Changes: Switched from using string conversion and comparison to bitwise & operator, also removed several unnecessary methods

 

Original File Upload
AttachmentSize
Package icon PS2_Wrapper.zip15.37 KB