Update evdevDriver.py

This commit is contained in:
chrys87 2018-05-14 14:32:07 +02:00 committed by GitHub
parent 662cfd2e2d
commit 4cde0159f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ class driver(inputDriver):
while active.value: while active.value:
devices = monitor.poll(2) devices = monitor.poll(2)
if devices: if devices:
while monitor.poll(0.1): while monitor.poll(1):
pass pass
eventQueue.put({"Type":fenrirEventType.PlugInputDevice,"Data":None}) eventQueue.put({"Type":fenrirEventType.PlugInputDevice,"Data":None})
return time.time() return time.time()