this post was submitted on 12 Mar 2024
174 points (99.4% liked)
RetroGaming
19512 readers
118 users here now
Vintage gaming community.
Rules:
- Be kind.
- No spam or soliciting for money.
- No racism or other bigotry allowed.
- Obviously nothing illegal.
If you see these please report them.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think the esp32 maximum throughput is 700 kbps, so you might be able to get a better performance.
I don't have much experience with the esp32, but the first thing I would do is just a spoof program that sends simulated inputs, and see how's the latency without any other functionalities.
That will give you a good idea if the problem is your code or the stack (its not infaillible though).
Yeah one approach is that BLE-Gamepad library supports gpio pins as button inputs, so in theory I could get a baseline of what the Bluetooth stack of the library is by soldering the jst connector to connect the Arduino (that triggers the button presses and measures the result from the Mister SNAC port).
Otherwise I'd basically have to develop my own controller code to port onto various Bluetooth stacks for testing, but that seems like more than I want to do right now.