PS2_Wrapper

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: 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