Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I wished it would work for ps4 controllers as all my ps3 controllers are broken...... #4

Open
jvpernis opened this issue Nov 15, 2019 · 6 comments

Comments

@jvpernis
Copy link
Owner

Thanks for making this library for Arduino too! I love it, I only wished it would work for ps4 controllers as all my ps3 controllers are broken......

I can connect my esp32 to the ps4 controller, but I get strange readings from the digital buttons and the analog sticks.

But thanks for your work so far, its the best alternative I've found so far!!

Originally posted by @PunyViking in #3 (comment)

@PunyViking
Copy link

PunyViking commented Dec 30, 2019

Somebody just did it!

https://github.com/NURobotics/PS4-esp32

@grasmanek94
Copy link

I think the new link is https://github.com/openobjects/PS4-esp32

@DerfJagged
Copy link

FYI, ESP-IDF now includes a bluetooth HID host example for Classic bluetooth which works with PS4 out of the box. It can cold connect without having to supply a MAC address, and it also reconnects!

https://github.com/espressif/esp-idf/tree/release/v4.2/examples/bluetooth/esp_hid_host

@jvpernis just letting you know in case it helps make your development easier. No idea if it supports multiple controllers at once.

@iotPeanut
Copy link

FYI, ESP-IDF now includes a bluetooth HID host example for Classic bluetooth which works with PS4 out of the box. It can cold connect without having to supply a MAC address, and it also reconnects!

https://github.com/espressif/esp-idf/tree/release/v4.2/examples/bluetooth/esp_hid_host

@jvpernis just letting you know in case it helps make your development easier. No idea if it supports multiple controllers at once.

Yes, I have also tested it. It can be connected and can communicate normally. But do you know how to port this program to ardunio. I try to compile esp_idf/components /bt and esp_idf /components/esp_hid into library functions in IDF programming mode, and then put them under the SDK folder of Arduino. But failed, do you have a good idea, thank you

@DerfJagged
Copy link

@iotPeanut I don't unfortunately. Please let me know if you do figure it out!

@freevedo
Copy link

I had succeed the connection to establish but I can't read any data from the PS4 controller. How does it work ? I'm new with C++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants