Home Forums PS2X PlayStation 2 Controller Library Support Forum Idea about how to detect controller unplugged Reply To: Idea about how to detect controller unplugged


Could you post your code for that? I’ll try to give it a shot.

I don’t quite understand the 0x42 commands and what you are doing there, but then again I’m new and haven’t tried to figure it out. I have been learning this stuff mostly by reverse engineering other people’s code and figuring out what it does.

So, if you feel like sharing, I’ll play around a little bit and see if I can get it to work. I’d like something like this, because I have two dualshock II controllers, but one is in a little better shape than the other. However, the worst one always plugs in and is recognized, and the better one sometimes takes a few tries and cycling of the analog button. If this works, it would just make my life much easier!