more adjustments

This commit is contained in:
chrys 2018-03-09 17:21:51 +01:00
parent 6a47b64e1a
commit d6b91ad65b

View File

@ -65,7 +65,7 @@ class driver(inputDriver):
devices = monitor.poll(2) devices = monitor.poll(2)
if devices: if devices:
while monitor.poll(0.5): while monitor.poll(0.5):
time.sleep(0.08) time.sleep(0.2)
eventQueue.put({"Type":fenrirEventType.PlugInputDevice,"Data":None}) eventQueue.put({"Type":fenrirEventType.PlugInputDevice,"Data":None})
return time.time() return time.time()
def plugInputDeviceWatchdogTimer(self, active): def plugInputDeviceWatchdogTimer(self, active):