I'm working on something at the moment that uses an ESP32. I would like to have simple strings that I can specify within the ESP32 code to automatically "type" on the screen. For example, if I did keyboardWrite("Hello World") and I had a blank notepad open on the PC/Mac, it would automatically write Hello World.
I realise the ESP32 does not have a USB interface, so I decided on using an MCP2210(SPI->USB bridge) to take information (simple strings) from the ESP32 via SPI and then transfer them to the PC. Microchip claims that it is a plug n' play device however they supply a .dll to develop applications for it.
My question is – is there any way to carry this out without having to develop/install any custom software or drivers or any .dll and it would simply be a plug n' play device for PC/Mac. For example, is there any way to embed the functionality of sending keyboard strokes from the MCP2210 itself, rather than through an application on the PC/Mac.
In short, how can I interface an ESP32 to USB to emulate a USB keyboard without any extra software.