add debug

This commit is contained in:
chrys 2018-05-15 23:17:03 +02:00
parent 0cae0de22e
commit a3b0754d57

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)