USB HID keyboard and mouse helper

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
gdsports
Posts: 5
Joined: Wed Feb 27, 2019 8:37 am

USB HID keyboard and mouse helper

Post by gdsports » Sat Mar 23, 2019 4:28 am

The USB Sidekick (USk) provides USB HID keyboard and mouse services to another device that lacks USB hardware. The USk accepts AT commands and translates them into USB keyboard and mouse events. The USk firmware runs on an Adafruit Trinket M0.

https://github.com/gdsports/sidekick

It has been tested on an ESP8266 running MicroPython but it should work on anything with a UART such as an ESP32.

Bare mininum code for an ESP8266 running MicroPython.

Code: Select all

from machine import UART
# GPIO#2 UART TX
uart = UART(1, 115200)
uart.write('at+usbkeyboard=https://micropython.org\\n\r')

Post Reply