Skip to content

FFY00/python-uhid

Repository files navigation

python-uhid

checks Documentation Status PyPI version

Pure Python typed UHID wrapper.

Supported backends:

  • Blocking IO + epoll
    • Uses the epoll API to watch the UHID file descriptor for input events
  • asyncio blocking IO
    • Uses asyncio reader and writer tasks
  • trio
    • Async API built on top of trio

See the examples folder for example snippets of each backend.

UHID is a Linux API to create virtual HID devices. See the official UHID documentation.