ConstantinoSchillebeeckx/tacocat-keyboard

keyboard

Opened this issue · 0 comments

I can't use the ESP32 as a HID keyboard since the UART to USB (FT231XS) doesn't support it; my options are:

  • use a different chip as the converter (added hardware)
  • send serial to the host and parse that into keypresses

NOTE: if I use BLE, then I think this isn't an issue ...

https://github.com/fasaxc/arduino-keyboard
https://learn.adafruit.com/introducing-bluefruit-ez-key-diy-bluetooth-hid-keyboard/sending-keys-via-serial

use pyserial to listen to the COM part and simulate a keypress

https://stackoverflow.com/a/11910555/1153897

https://pyautogui.readthedocs.io/en/latest/
https://github.com/PyUserInput/PyUserInput
https://gist.github.com/nzaillian/622181
https://gist.github.com/fredrikw/4078034
https://pypi.python.org/pypi/pynput