Notifications
Clear all

Raspberry PI and a cheap Chinese Playstation 2 controller


Atle
 Atle
(@atle)
Active Member
Joined: 2 years ago
Posts: 10
Topic starter  

I looked around the net and found a lot of info, but couldn't find a library that would work the way I wanted.

So, I made this Playstation 2 controller library for Raspberry PI

It would be interesting to know if this library works for any other combination of Raspberry PI / Playstation 2 Controller than mine 🙂


Sean451 liked
Quote
SuperCharlie
(@supercharlie)
Trusted Member
Joined: 2 years ago
Posts: 90
 

I'm going to try using a ps3 controller soon.. what were the issues with the standard modules you ran into?


ReplyQuote
Atle
 Atle
(@atle)
Active Member
Joined: 2 years ago
Posts: 10
Topic starter  

I only found one, and when I tried it, it would indicate button clicks all the time, even though I didn't touch the controller.

It would react to some button presses, but not others.

The joystick reading seems more like random data than anything else.

I suspected a timing issue, so I shaved off everything except the parts I understood.

To my surprise, it worked+and that became the basis for my library.

Will it work on PS3? I have no idea. I don't even know if it will work on genuine Sony PS2 controllers.


ReplyQuote
Atle
 Atle
(@atle)
Active Member
Joined: 2 years ago
Posts: 10
Topic starter  

This what the one I found.


ReplyQuote