MicroPython library for HID (Keyboard) for ESP8266?

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
nirtz89
Posts: 7
Joined: Sat May 01, 2021 7:42 pm

MicroPython library for HID (Keyboard) for ESP8266?

Post by nirtz89 » Sat May 22, 2021 2:02 pm

Hi, is there a library that works for MicroPython that makes the esp8266 acts as an HID for passing inputs into the host machine? (PC)
Thanks!

SpotlightKid
Posts: 463
Joined: Wed Apr 08, 2015 5:19 am

Re: MicroPython library for HID (Keyboard) for ESP8266?

Post by SpotlightKid » Sat May 22, 2021 2:13 pm

The ESP8266 does not have native USB capabilities, so AFAIK that's not possible, at least not in MicroPython. You can use an USB co-processor (programmed in C, e.g. an arduino micro with V-USB) or a microcontroller that has native USB support like an stm32fx or an rp2040 (pico).

See also: viewtopic.php?t=3640

nirtz89
Posts: 7
Joined: Sat May 01, 2021 7:42 pm

Re: MicroPython library for HID (Keyboard) for ESP8266?

Post by nirtz89 » Sat May 22, 2021 2:18 pm

Disappointing, but thanks for the quick and helpful reply!

Post Reply