ESP32-Pro is Equipped with a USB Keyboard/Mouse HID - Will it work? #7100
Replies: 1 comment
-
Posted at 2018-08-04 by StuartRothrock After further research, I see that I need to copy the ESP32 board definition file to create an ESP32PRO.json file and add the USB specific info, pin assignments, etc. I also looked that the Olimex hardware info pages at https://github.com/OLIMEX/ESP32-PRO. The steps needed are a bit beyond my knowledge base. Will there be enough interest for someone to go through the build process? Posted at 2018-08-04 by JumJum sounds interesting, there is a command in Espruino, http://www.espruino.com/Reference#l_E_setUSBHID Posted at 2018-08-04 by JumJum @StuartRothrock Posted at 2018-08-04 by StuartRothrock Thank you JumJum! I currently use the E_setUSBHID and E_sendUSBHID with the USBKeyboard, USBMouse and USBTablet modules for the Pico and Wifi. The problem is that they are not available in a build that does not define USE_USB_HID which requires further hardware definition. Posted at 2018-08-06 by @gfwilliams I think the likelihood of this ending up as part of Espruino is very low unless Olimex got involved in the software - it's not anything on the ESP32 itself, so any work done would be specific to Olimex's one board with the PIC microcontroller on it - and there's really no reason for me to spend time working on that for free. Of course it might be that Olimex has some nice API for turning the PIC into USB HID, in which case you could probably implement the relevant things you want in JavaScript pretty easily Posted at 2018-08-06 by StuartRothrock understood... I'll see what Olimex says in a couple weeks after they return from their annual vacation that started today. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2018-08-03 by StuartRothrock
Since the ESP32-Pro includes the USB host mode, will Espruino detect it and allow it to be accessed natively? I would experiment and try it but it is a new unit and don't want to overwrite the firmware it is will not work. Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions