Merge branch 'master' into bleed

This commit is contained in:
chrys
2018-05-16 23:30:49 +02:00
2 changed files with 24 additions and 1 deletions

View File

@ -295,6 +295,7 @@ class driver(inputDriver):
except:
pass
def removeDevice(self,fd):
self.env['runtime']['debug'].writeDebugOut('InputDriver evdev: device removed: ' + str(fd) + ' ' +str(self.iDevices[fd]),debug.debugLevel.ERROR)
self.clearEventBuffer()
try:
self.ungrabDevice(fd)