kennyhml / pyinterception

Modern Python port & wrapper for the interception device driver
MIT License
125 stars 26 forks source link

how do i use it? #9

Closed wookidooki8 closed 1 year ago

wookidooki8 commented 1 year ago

i have installed interception driver but im having a hard time understaind the rest instruments you provided.

  import interception

  kdevice = interception.listen_to_keyboard()
  mdevice = interception.listen_to_mouse()

i have only instaslled intercetion driver so importing interception wont work since its not pypi package. i tired to place my python file into src folder you provided but i get

  ImportError: cannot import name 'GenericAlias' from partially initialized module 'types' (most likely due to a circular import) (C:\test\src\interception\types.py)

im sure im missing something. can you tell me how to use it?

wookidooki8 commented 1 year ago

nvm solved :D