Open H3LL0U opened 4 months ago
https://github.com/boppreh/keyboard/issues/531 Similar Issue
Partial solution found. Now the keyboard doesn't raise an OSError when disconected. However upon disconecting it reinitializes everything which automatically sets a fake keyboard. The system should be implomented which checks if there are any changes in the usb devices 5d518fa4fe4083475e913d580ccf1b8126c4d72e (Will work on it later)
When the device is unplugged during the execution of the following code:
The following error acures which breaks the program:
Note: I'm starting the Script through SSH with
sudo python3 Log.py
and the Script executes normally when the keyboard is innitially plugged in