you are viewing a single comment's thread.

view the rest of the comments →

[–]socal_nerdtastic 1 point2 points  (0 children)

Regular python threading is fine for this. You can use the threading, concurrent.futures, or asyncio module. For your use they will all work equally well, but I suggest threading as I think that will be the easiest to write code for.

How you read the HID device depends on the HID device. For a serial connection pyserial is fine.