Usb host support #920
Replies: 3 comments 4 replies
-
Hi @Geoide, To the best of my recollection, no one has implemented USB host support in the Moddable SDK. It would certainly be doable, but I don't believe it has already been done. That said, if one could get the communication with the USB host controller working (i.e. Serial communication or SPI or however the part you have in mind works), the USB gamepad protocol support on top of that would be fairly straightforward. It would resemble (but not quite be identical to) the BLE Central HID examples that we have in the Moddable SDK, such as hid-keyboard and hid-mouse. What USB host shield are you looking at? Also, if pairing with a BLE gamepad is an option (instead of using USB), there would be a much quicker path to getting that working. |
Beta Was this translation helpful? Give feedback.
-
Hello @andycarle. Thanks for your response. I’m thinking ins some approach I’ve seem in this page (based in MAX3421E chip): Perhaps if I follow the pins connection from this page I could get the communication but I’m not sure. My target is to reuse a old wireless gamepad which set the connection from a usb receiver. |
Beta Was this translation helpful? Give feedback.
-
Could esp32 s3 have usb support from the stack?
…On Mon, Jun 27, 2022, 18:25 Javier Rincón Borobia ***@***.***> wrote:
I could try it but I’m not expert in this field. What would be the
starting point exactly? Is there documentation?
—
Reply to this email directly, view it on GitHub
<#920 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABYLTJBRWAIVACKBFN6AC7DVRIL5XANCNFSM5Z7N32VA>
.
You are receiving this because you are subscribed to this thread.Message
ID: <Moddable-OpenSource/moddable/repo-discussions/920/comments/3034819@
github.com>
|
Beta Was this translation helpful? Give feedback.
-
Hello.
Is there some way to reading data from a wireless gamepad (logitech). I’m finding some way to use a usb host shield with esp32 and moddable but I’m new in this library and I’m not sure if there is support to this.
Any help to start with it will be welcome.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions