kennyhml / pyinterception

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

auto_capture_devices fails from listener desync #27

Closed necr0potenc3 closed 4 months ago

necr0potenc3 commented 8 months ago

https://github.com/kennyhml/pyinterception/blob/32002c590d0ae6947b625e30b26dbc27aaa2e5fd/src/interception/inputs.py#L381C1-L381C25

auto_capture_devices function needs a "time.sleep(0.1)" after "listener.start()" or it might fail in some occasions.

kennyhml commented 4 months ago

Sorry for the late reply, ive been pretty busy.

Are you sure about that? I am personally unable to reproduce the issue.

I distribute projects using this library to a fair share of people and none of them ever had issues with the auto-capture either.