The use of the ESP8266 in the world of IoT

User avatar
By QuickFix
#87340 No. :idea:

An ESP8266 doesn't have USB itself; the USB connector you see is for the USB to UART convertor on the board, so you can program it.

Both a keyboard as the ESP (but also mice, printers, etc.) are USB peripherals (or clients) which can be connected to a USB host (or master).
It should be possible to connect an older PS/2 keyboard to an ESP, since it's a fairly simple protocol that only uses a couple of GPIO's, but I don't have any experience with it myself.