esp32-ps3 icon indicating copy to clipboard operation
esp32-ps3 copied to clipboard

Two ps3 controllers?

Open bennellis opened this issue 4 years ago • 7 comments

Hi, I’m wondering if you know of any way to hook up two ps3 controllers to one esp32 using your library? Thanks!

bennellis avatar Mar 04 '20 01:03 bennellis

Hi, unfortunately, this library doesn't support handling multiple controllers at once at the moment. In order to support such a thing, I'd need to change quite a bit in this library and provide some kind of an interface to separate the two controllers.

I'll keep this issue open until I have gotten around to implementing it :)

jvpernis avatar Mar 10 '20 17:03 jvpernis

Love your project jvpernis, I'm on the same pages as bennellis, I've built a unijoysticle 2 like board (to control a commodore with bluetooth) and right now that code does not support DS3, so I'm using your library to use one DS3, looking to have both.

mlorenzati avatar Jul 12 '20 21:07 mlorenzati

Hi, I would also like to thank you for this project and add me to the list of users looking forward to using two controllers with your library. I had initially thought that simply instantiating a second object might do the trick, but it seems that it's not so easy...

fredlcore avatar Mar 08 '21 13:03 fredlcore

@jvpernis I too am looking for 2 nav controller support for my droid projects... I need both for the 2 analog controllers separated by my hands... the nav controllers were perfect for this

jlvandusen avatar May 17 '21 11:05 jlvandusen

This feature would be really nice!

doragasu avatar Jul 14 '21 19:07 doragasu

Great work, I was wondering is it possible for the Ps3 controller to communicate with two ESP32 boards at the same time? I am working on a Camera motion control project which consists of a pan/tilt head and separate camera slider each with its own esp32. I have successfully used your library to control the parts individually but I need the controller to connect with both Esp32 boards at the same time is this possible?

digitalbird01 avatar Jul 28 '21 17:07 digitalbird01

I have successfully used your library to control the parts individually but I need the controller to connect with both Esp32 boards at the same time is this possible?

If anyone else is still curious about this, the simple solution is to connect via Bluetooth to one of the boards, and connect the two with serial, or an HC-12 or similar if wireless is required (maybe ESPNow if it supports bluetooth use at the same time, I don't know about that). Most bluetooth devices simply don't support connecting to 2 devices at the same time, and this will cause problems for timing or similar in any situation where both boards don't get the same data from the controller. An example is if there is a bad connection on just one controller and not the other.

RaspberryPiDude314 avatar Aug 07 '23 23:08 RaspberryPiDude314