I'm new to this forum and, basically, to the Arduino world than I hope to post in the right section. I need to create a virtual USB keyboard and, after read a lot of post here, I selected the Leonardo model because it have a native HID USB interface and library for emulate an USB keyboard is provided. However I need this board to receive keyboard commands through network in both (alternative) solutions ethernet and wifi with WebSocket protocol. At first I bought an ethernet shield with W5500 chip but now that I started to develop I discovered that there is no big support for Leonardo model in the available WebSocket libraries in the site. At least the only library I found that seem able to support W550 chip and some other wifi chip (still to buy) is "WebSockets2_Generic" but using Visual Studio Code with platformio I can't compile it because AVR compiler miss STL used by this library. I tried to add library for "import" STL but nothing work.
Now, the use of Leonardo model is mandatory for the USB emulation as explained, but for the ethernet and wifi I can choose alternative shield if someone of you can suggest a working models supporting WebSocket.
Or maybe I'm doing something wrong, someone can point me to the right direction?