Update evdevDriver.py
This commit is contained in:
parent
662cfd2e2d
commit
4cde0159f9
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user