Hello Bill,
Many thanks for the PS2X Library and example! We bought a PS2 controller from Good Will ($3.95, plenty to choose from) and successfully integrated it to a pool-side Arduino UNO. The button/stick values are aggregated into a “frame” and sent to the on-board Arduino over ethernet. Here is a shot of our ROV based on a Navy practice bomb and one of our students. Also shown is its detached pneumatic manipulator arm and claw on the shelf below.
Best Regards,
Denney Cole, Tech Team mentor, Tigard High School