-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Export "uni_hid_device_t*" in Arduino API #11
Comments
you might need to include and then call the functions that are declared there...but call them from the "BTstack" thread: https://bluepad32.readthedocs.io/en/latest/programmers_guide_raw/#multithreading |
No, I figured I would have to include the bluepad32 guts or something... But the Arduino BP32 api gives me a |
Also, it seems that the |
yeah... I'll need to make some changes... I guess I can add a function that returns the You should also know that Arduino code runs in its own task (different than BP32), so you will need to fix that. See: https://bluepad32.readthedocs.io/en/latest/programmers_guide_raw/#multithreading |
My suggestion would be something like
Yeah, I know about that part... not a problem |
For advanced users only. Must be called from BTstack/BP32 thread. If unsure, read: https://bluepad32.readthedocs.io/en/latest/programmers_guide_raw/#multithreading Fixes #11
Added Please LMK if that works for you: |
Looks like it should, except I can't figure out how to install it from git. I did: cd ~/Documents/Arduino
mkdir -p hardware/bluepad32 && cd hardware/bluepad32
git clone https://github.com/ricardoquesada/esp-idf-arduino-bluepad32-template.git esp
cd esp
git checkout develop and then restarted the Arduino IDE, but the new core doesn't show up. Can you tell what I am doing wrong? |
ah... yes, this is the template project. It won't work from Arduino IDE. The Bluepad32 Core (the one that can be used from Arduino IDE) is not ready yet. The "template project" uses Arduino Core, but cannot be used from Arduino IDE. Arduino IDE board will be updated soon. |
So you're saying the core that I installed and used initially was a pre-release? Wow!! |
no, not a pre-release. I guess you are using Bluepad32 Arduino Core v4.1.0. I fixed it on "develop" branch in the template project. This will be part of v4.2.0 First I need to release:
|
ok, lmk when you have done that, no rush. |
For advanced users only. Must be called from BTstack/BP32 thread. If unsure, read: https://bluepad32.readthedocs.io/en/latest/programmers_guide_raw/#multithreading Fixes ricardoquesada/esp-idf-arduino-bluepad32-template#11
I have a ps5 controller... but it seems there is no way to access the features specific to the ps5 controller via the Arduino api. For example, setting adaptive trigger effects, changing the player LEDs to something other than the 0-1-2-3-4 sequence the library assumes, and accessing the absolute position (not relative) of the fingers on the touchpad.
How can I access the backend data from the bluepad32 objects and operate on them directly?
I am using the "Arduino Core for ESP32 + Bluepad32" board package (board package version 4.1.0, IDE version 2.3.4).
The text was updated successfully, but these errors were encountered: